[cig-commits] [commit] add_thermodynamic_potentials: Minor bug fix (78cf89e)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Tue Dec 9 09:55:56 PST 2014
Repository : https://github.com/geodynamics/burnman
On branch : add_thermodynamic_potentials
Link : https://github.com/geodynamics/burnman/compare/2e5646d93cedbbf8eae54cc37cffc14e0aa85180...d5ddad03ff9f30f5a4efaddb4e3ec585ea1a7c51
>---------------------------------------------------------------
commit 78cf89effd2e6108dc56d5af8a1ca14a3bc08233
Author: Bob Myhill <myhill.bob at gmail.com>
Date: Wed Sep 3 02:37:07 2014 +0200
Minor bug fix
>---------------------------------------------------------------
78cf89effd2e6108dc56d5af8a1ca14a3bc08233
burnman/solutionmodel.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/burnman/solutionmodel.py b/burnman/solutionmodel.py
index ad4557f..a39bce1 100644
--- a/burnman/solutionmodel.py
+++ b/burnman/solutionmodel.py
@@ -101,7 +101,7 @@ class IdealSolution ( SolutionModel ):
molar_fractions[i] * R * np.log(activities[i])
def ideal_gibbs_excess( self, temperature, molar_fractions ):
- return temperature*configurational_entropy(molar_fractions)
+ return 0.0 - temperature*configurational_entropy(molar_fractions)
def ideal_activities ( self, molar_fractions ):
More information about the CIG-COMMITS
mailing list