From af55ec55579a14f39eb8d6800b804d6126de129a Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Wed, 24 Apr 2013 21:47:45 +0000 Subject: [PATCH] [Thermo] Fixed an error in MargulesVPSSTP::s_update_dlnActCoeff_dT This error was introduced in r1968, but it was masked by an issue with the code used to compare test results. --- src/thermo/MargulesVPSSTP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thermo/MargulesVPSSTP.cpp b/src/thermo/MargulesVPSSTP.cpp index bc63c0b0c..754a42f3c 100644 --- a/src/thermo/MargulesVPSSTP.cpp +++ b/src/thermo/MargulesVPSSTP.cpp @@ -515,7 +515,7 @@ void MargulesVPSSTP::s_update_dlnActCoeff_dT() const dlnActCoeffdT_Scaled_[iA] += XB * g0g1XB; dlnActCoeffdT_Scaled_[iB] += XA * g0g1XB + XAXB * g1; d2lnActCoeffdT2_Scaled_[iA] -= mult * XB * g0g1XB; - d2lnActCoeffdT2_Scaled_[iB] -= mult * XA * g0g1XB + XAXB * g1; + d2lnActCoeffdT2_Scaled_[iB] -= mult * (XA * g0g1XB + XAXB * g1); } }