Skip to content

Commit

Permalink
[Python] Fixed an error when setting the mass flow rate of a FlowReactor
Browse files Browse the repository at this point in the history
  • Loading branch information
speth committed Aug 2, 2012
1 parent 67395c8 commit 1c5f7c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interfaces/python/Cantera/Reactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def __init__(self, contents = None, name = '',
self.setMassFlowRate(mdot)

def setMassFlowRate(self, mdot):
_cantera.flowReactor_setMassFlowRate(self.__reactor_id, mdot)
_cantera.flowReactor_setMassFlowRate(self.reactor_id(), mdot)


class ConstPressureReactor(ReactorBase):
Expand Down

0 comments on commit 1c5f7c3

Please sign in to comment.