diff --git a/include/teqp/derivs.hpp b/include/teqp/derivs.hpp index dc76b26be751e635221ed3622b040a083c372ec7..b40ea9304b3970bf18de0e2aed4fd0c2bcda3456 100644 --- a/include/teqp/derivs.hpp +++ b/include/teqp/derivs.hpp @@ -560,7 +560,7 @@ struct IsochoricDerivatives{ auto molefrac = (rhovec / rhotot).eval(); auto R = model.R(molefrac); using tdx = TDXDerivatives<Model, Scalar, VectorType>; - auto Z = 1.0 + tdx::get_Ar01<be>(model, T, rhotot, molefrac); + auto Z = 1.0 + tdx::template get_Ar01<be>(model, T, rhotot, molefrac); auto grad = build_Psir_gradient<be>(model, T, rhovec).eval(); auto RT = R * T; auto lnphi = ((grad / RT).array() - log(Z)).eval(); diff --git a/src/time_fugcoeff.cpp b/src/time_fugcoeff.cpp index b103d90878c83041904326c8de57375019dfb56b..3deed8ec4c030f5cb4175cc18d6a887418c457ed 100644 --- a/src/time_fugcoeff.cpp +++ b/src/time_fugcoeff.cpp @@ -71,7 +71,7 @@ int main() auto tic = std::chrono::high_resolution_clock::now(); double usummer = 0.0; for (auto j = 0; j < N; ++j) { - auto val = id::get_fugacity_coefficients(model, T, rhovec); + auto val = id::template get_fugacity_coefficients(model, T, rhovec); usummer += val.sum(); } auto toc = std::chrono::high_resolution_clock::now();