Skip to content

Commit

Permalink
[Python] Fixed an error when using a reactor heat flux function
Browse files Browse the repository at this point in the history
Fixes Issue 145.
  • Loading branch information
speth committed Mar 4, 2013
1 parent dd89ab1 commit 83cca43
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 @@ -972,7 +972,7 @@ def setHeatFlux(self, qfunc):
"""
if qfunc:
self._qfunc = qfunc # hold on to a reference so it doesn't get deleted
n = self.qfunc.func_id()
n = qfunc.func_id()
else:
n = 0
return _cantera.wall_setHeatFlux(self.__wall_id, n)
Expand Down

0 comments on commit 83cca43

Please sign in to comment.