From 0bbec4071f53b38c6c96666102bec93a89c683b7 Mon Sep 17 00:00:00 2001 From: Ian Bell Date: Sat, 7 Sep 2024 10:29:21 -0400 Subject: [PATCH] Fix json load for MSVC --- include/teqp/models/multifluid/multifluid_activity.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/teqp/models/multifluid/multifluid_activity.hpp b/include/teqp/models/multifluid/multifluid_activity.hpp index 5b15315..82e098c 100644 --- a/include/teqp/models/multifluid/multifluid_activity.hpp +++ b/include/teqp/models/multifluid/multifluid_activity.hpp @@ -39,7 +39,7 @@ class MultifluidPlusActivity{ MultifluidPlusActivity(const nlohmann::json &spec) : m_multifluid(multifluidfactory(spec.at("multifluid"))), m_activity(ares_model_factory(spec.at("activity").at("aresmodel"))), - b(spec.at("activity").at("options").at("b")), + b(spec.at("activity").at("options").at("b").get>()), u(spec.at("activity").at("options").at("u")){} /// Calculate the dimensionless value of \f$g_{\rm GE}^{\rm E,R}/RT\f$ from the AC model