diff --git a/include/teqp/types.hpp b/include/teqp/types.hpp index 9061d314ca826d0da44ba5967e816c837601508e..f0ffc4155d64c9f68907e9dd076d990c048401b6 100644 --- a/include/teqp/types.hpp +++ b/include/teqp/types.hpp @@ -20,7 +20,7 @@ template<typename T> auto forceeval(T&& expr) { using namespace autodiff::detail; - if constexpr (isDual<T> || isExpr<T> || isNumber<T>) { + if constexpr (isDual<T> || isExpr<T>) { return eval(expr); } else {