diff --git a/src/fvOptions/sources/general/semiImplicitSource/SemiImplicitSource.C b/src/fvOptions/sources/general/semiImplicitSource/SemiImplicitSource.C index 98b83b880064d608ed2324b7c277830ade10c6ad..a9cb925422246fda9ad6061cfe43c22bf7e5947e 100644 --- a/src/fvOptions/sources/general/semiImplicitSource/SemiImplicitSource.C +++ b/src/fvOptions/sources/general/semiImplicitSource/SemiImplicitSource.C @@ -305,7 +305,8 @@ void Foam::fv::SemiImplicitSource<Type>::addSup // Restore dimension checking dimensionSet::checking(oldDimChecking); - const ExprResultType* ptr = driver.isResultType<ExprResultType>(); + const ExprResultType* ptr = + driver.template isResultType<ExprResultType>(); if (!ptr) { @@ -430,7 +431,8 @@ void Foam::fv::SemiImplicitSource<Type>::addSup // Restore dimension checking dimensionSet::checking(oldDimChecking); - const ExprResultType* ptr = driver.isResultType<ExprResultType>(); + const ExprResultType* ptr = + driver.template isResultType<ExprResultType>(); if (!ptr) {