[Python] Fixed an error when using a reactor heat flux function
Fixes Issue 145.
This commit is contained in:
parent
dd89ab12b0
commit
83cca43a3b
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue