From 1c5f7c3ed76d31412782aafb9f7d672dcc96677e Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 2 Aug 2012 16:01:53 +0000 Subject: [PATCH] [Python] Fixed an error when setting the mass flow rate of a FlowReactor --- interfaces/python/Cantera/Reactor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/python/Cantera/Reactor.py b/interfaces/python/Cantera/Reactor.py index 733301abf..acda04e93 100644 --- a/interfaces/python/Cantera/Reactor.py +++ b/interfaces/python/Cantera/Reactor.py @@ -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):