From 46684646ee4df68b19bff65b25031c6c9f6dd308 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Tue, 10 May 2016 22:13:43 -0400 Subject: [PATCH] [Thermo] DebyeHuckel::_nonpolarActCoeff is a static method Definition now corresponds to documentation --- include/cantera/thermo/DebyeHuckel.h | 2 +- src/thermo/DebyeHuckel.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cantera/thermo/DebyeHuckel.h b/include/cantera/thermo/DebyeHuckel.h index f7cd57c5e..7b7936de6 100644 --- a/include/cantera/thermo/DebyeHuckel.h +++ b/include/cantera/thermo/DebyeHuckel.h @@ -937,7 +937,7 @@ private: * * @param IionicMolality Value of the ionic molality (sqrt(gmol/kg)) */ - double _nonpolarActCoeff(double IionicMolality) const; + static double _nonpolarActCoeff(double IionicMolality); //! Formula for the osmotic coefficient that occurs in the GWB. /*! diff --git a/src/thermo/DebyeHuckel.cpp b/src/thermo/DebyeHuckel.cpp index 935ec46a0..c612b8e0f 100644 --- a/src/thermo/DebyeHuckel.cpp +++ b/src/thermo/DebyeHuckel.cpp @@ -936,7 +936,7 @@ bool DebyeHuckel::addSpecies(shared_ptr spec) return added; } -double DebyeHuckel::_nonpolarActCoeff(double IionicMolality) const +double DebyeHuckel::_nonpolarActCoeff(double IionicMolality) { // These are coefficients to describe the increase in activity coeff for // non-polar molecules due to the electrolyte becoming stronger (the so-