[Python] Fixed an error when using a reactor heat flux function

Fixes Issue 145.

Cherry-picked from 2.0 bugfix branch.
This commit is contained in:
Ray Speth 2013-03-05 17:04:35 +00:00
parent 3a53ae3660
commit 0314eef0f7

View file

@ -943,7 +943,7 @@ class Wall:
"""
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)