[cig-commits] [commit] master: make EOS a new style class (9aff0d6)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Dec 11 12:20:21 PST 2014


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

On branch  : master
Link       : https://github.com/geodynamics/burnman/compare/c5ec36a308413012ee5b0763ccb541c2ad56f382...bc315ff9a2ed1d4871962882f0626468342f1ffc

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

commit 9aff0d61f5e744578d795d5605410bf60846ecc3
Author: Timo Heister <timo.heister at gmail.com>
Date:   Thu Dec 11 12:10:45 2014 -0800

    make EOS a new style class


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

9aff0d61f5e744578d795d5605410bf60846ecc3
 burnman/equation_of_state.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/burnman/equation_of_state.py b/burnman/equation_of_state.py
index 1f7ea13..cdf88db 100644
--- a/burnman/equation_of_state.py
+++ b/burnman/equation_of_state.py
@@ -2,7 +2,7 @@
 # Copyright (C) 2012, 2013, Heister, T., Unterborn, C., Rose, I. and Cottaar, S.
 # Released under GPL v2 or later.
 
-class EquationOfState:
+class EquationOfState(object):
     """
     This class defines the interface for an equation of state
     that a mineral uses to determine its properties at a



More information about the CIG-COMMITS mailing list