From 3a8037a2c9b9cae65bb87f2c95a25d15c9337ac2 Mon Sep 17 00:00:00 2001 From: Ian Bell <ian.bell@nist.gov> Date: Fri, 17 Sep 2021 16:37:42 -0400 Subject: [PATCH] Even more forceeval --- include/teqp/models/multifluid.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/teqp/models/multifluid.hpp b/include/teqp/models/multifluid.hpp index 95f82ec..b55c5fd 100644 --- a/include/teqp/models/multifluid.hpp +++ b/include/teqp/models/multifluid.hpp @@ -139,11 +139,11 @@ private: template <typename Num> auto cube(Num x) const { - return x*x*x; + return forceeval(x*x*x); } template <typename Num> auto square(Num x) const { - return x*x; + return forceeval(x*x); } public: -- GitLab