From c22a9e741826346c78f2c0cc8ad707a4ad1d6a35 Mon Sep 17 00:00:00 2001 From: Ian Bell <ian.bell@nist.gov> Date: Tue, 12 Oct 2021 19:12:43 -0400 Subject: [PATCH] Maybe this makes m assignable? --- include/teqp/models/cubics.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/teqp/models/cubics.hpp b/include/teqp/models/cubics.hpp index 887bb6b..e43a11b 100644 --- a/include/teqp/models/cubics.hpp +++ b/include/teqp/models/cubics.hpp @@ -129,7 +129,7 @@ template <typename TCType, typename PCType, typename AcentricType> auto canonical_PR(TCType Tc_K, PCType pc_K, AcentricType acentric) { double Delta1 = 1+sqrt(2); double Delta2 = 1-sqrt(2); - auto m = acentric*0.0; + AcentricType m = acentric*0.0; std::vector<AlphaFunctionOptions> alphas; for (auto i = 0; i < Tc_K.size(); ++i) { if (acentric[i] < 0.491) { -- GitLab