From 8024ee12891fde0332b86544b2b18010a91fde15 Mon Sep 17 00:00:00 2001 From: Darth Vader Date: Fri, 7 Jun 2024 21:56:13 +0000 Subject: [PATCH] Squashed 'phreeqcpp/' changes from e2f4d06..ceab9a1 ceab9a1 Tony's change to Sr and NH4, SC_Ohm and rate_xmpls, basicsubs.cpp error git-subtree-dir: phreeqcpp git-subtree-split: ceab9a1033d2046c72a6bcf19c2c2244e8b23f97 --- basicsubs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basicsubs.cpp b/basicsubs.cpp index 14744601..a9305f73 100644 --- a/basicsubs.cpp +++ b/basicsubs.cpp @@ -493,7 +493,7 @@ calc_SC(void) if (av) t1 *= pow(viscos_0 / viscos, av); if (correct_Dw) - s_x[i]->dw_corr *= t1 / Dw; + s_x[i]->dw_corr *= t1 / Dw * pow(mass_water_aq_x / calc_solution_volume(), 2); // fractional contribution in mu, and correct for charge imbalance a2 = 2 / (eq_plus + eq_min);