File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
interfaces/cython/cantera Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ cdef extern from "cantera/equil/MultiPhase.h" namespace "Cantera":
1010 cdef cppclass CxxThermoPhase " Cantera::ThermoPhase"
1111 cdef cppclass CxxMultiPhase " Cantera::MultiPhase" :
1212 CxxMultiPhase()
13- void addPhase(CxxThermoPhase* , double ) except + translate_exception
13+ void addPhase(shared_ptr[ CxxThermoPhase] , double ) except + translate_exception
1414 void init() except + translate_exception
1515 void updatePhases() except + translate_exception
1616
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ cdef class Mixture:
5757
5858 for phase,moles in phases:
5959 # Block species from being added to the phase as long as this object exists
60- self .mix.addPhase(phase.thermo, moles)
60+ self .mix.addPhase(phase._base.get(). thermo() , moles)
6161 self ._phases.append(phase)
6262
6363 self .mix.init()
You can’t perform that action at this time.
0 commit comments