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

Fixes Issue 145.
This commit is contained in:
Ray Speth 2013-03-04 17:30:36 +00:00
parent dd89ab12b0
commit 83cca43a3b

View file

@ -972,7 +972,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)