diff --git a/include/TFEL/Math/Matrix/tmatrix.ixx b/include/TFEL/Math/Matrix/tmatrix.ixx index 4c1842e89..e64783d1c 100644 --- a/include/TFEL/Math/Matrix/tmatrix.ixx +++ b/include/TFEL/Math/Matrix/tmatrix.ixx @@ -502,7 +502,7 @@ namespace tfel::math { tfel::math::internals::DerivativeViewFromTinyMatrixImplementation< isScalar(), isScalar(), FunctionType, VariableType>; - return Implementation::template exe(m, i, j); + return Implementation::exe(m, i, j); } // end of map_derivative } // namespace tfel::math diff --git a/include/TFEL/System/ThreadedTaskResult.ixx b/include/TFEL/System/ThreadedTaskResult.ixx index 4a020b645..16b447db4 100644 --- a/include/TFEL/System/ThreadedTaskResult.ixx +++ b/include/TFEL/System/ThreadedTaskResult.ixx @@ -75,7 +75,7 @@ namespace tfel::system { if (this->eptr != nullptr) { this->rethrow(); } - if (!this->result_has_value()) { + if (!this->result.has_value()) { ThreadedTaskResultBase::throwBadCastException(); } return *(this->result);