[Python] Fixed an error when setting the mass flow rate of a FlowReactor

This commit is contained in:
Ray Speth 2012-08-02 16:01:53 +00:00
parent 67395c8438
commit 1c5f7c3ed7

View file

@ -432,7 +432,7 @@ class FlowReactor(ReactorBase):
self.setMassFlowRate(mdot)
def setMassFlowRate(self, mdot):
_cantera.flowReactor_setMassFlowRate(self.__reactor_id, mdot)
_cantera.flowReactor_setMassFlowRate(self.reactor_id(), mdot)
class ConstPressureReactor(ReactorBase):