From c4108e5a57e6846c553978c538d4d9981ea1d46f Mon Sep 17 00:00:00 2001 From: Ian Bell Date: Mon, 28 Aug 2023 20:54:20 -0400 Subject: [PATCH] Fix order of initialization --- include/Helmholtz.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Helmholtz.h b/include/Helmholtz.h index 5529e41a..22e24a38 100644 --- a/include/Helmholtz.h +++ b/include/Helmholtz.h @@ -1152,7 +1152,7 @@ class IdealHelmholtzGERG2004Sinh : public BaseHelmholtzTerm /// Constructor with std::vectors IdealHelmholtzGERG2004Sinh(const std::vector& n, const std::vector& theta, double Tc) - : n(n), theta(theta), Tc(Tc), N(n.size()), _Tr(_HUGE), enabled(true) { + : n(n), theta(theta), Tc(Tc), _Tr(_HUGE), N(n.size()), enabled(true) { assert(n.size() == theta.size()); } @@ -1184,7 +1184,7 @@ class IdealHelmholtzGERG2004Cosh : public BaseHelmholtzTerm /// Constructor with std::vectors IdealHelmholtzGERG2004Cosh(const std::vector& n, const std::vector& theta, double Tc) - : n(n), theta(theta), Tc(Tc), N(n.size()), _Tr(_HUGE), enabled(true) { + : n(n), theta(theta), Tc(Tc), _Tr(_HUGE), N(n.size()), enabled(true) { assert(n.size() == theta.size()); }