[cig-commits] [commit] inversion, master, validate_MT_params: Fixed Gibbs bug created last night (84fbe9b)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Fri Dec 12 18:26:34 PST 2014


Repository : https://github.com/geodynamics/burnman

On branches: inversion,master,validate_MT_params
Link       : https://github.com/geodynamics/burnman/compare/80c2a295c42dfdb38f83f6c1334bf7d8f97a8463...409647ff05dfad6a686198cac1481bd46b5e2e62

>---------------------------------------------------------------

commit 84fbe9b88d052175e2e4b72e645f61370fafe287
Author: Bob Myhill <myhill.bob at gmail.com>
Date:   Sat Sep 6 15:44:06 2014 +0200

    Fixed Gibbs bug created last night


>---------------------------------------------------------------

84fbe9b88d052175e2e4b72e645f61370fafe287
 burnman/slb.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/burnman/slb.py b/burnman/slb.py
index 4127907..9d2d45f 100644
--- a/burnman/slb.py
+++ b/burnman/slb.py
@@ -210,7 +210,7 @@ class SLBBase(eos.EquationOfState):
         """
         Returns the Gibbs free energy at the pressure and temperature of the mineral [J/mol]
         """
-        volume=self.V
+        volume=self.volume(pressure, temperature, params)
         G = self.helmholtz_free_energy( pressure, temperature, volume, params) + pressure * volume
         return G
 



More information about the CIG-COMMITS mailing list