[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:
parent
3a53ae3660
commit
0314eef0f7
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue