From 83cca43a3b1a3ccd0a2433fdfbb1512e16989f2b Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 4 Mar 2013 17:30:36 +0000 Subject: [PATCH] [Python] Fixed an error when using a reactor heat flux function Fixes Issue 145. --- interfaces/python/Cantera/Reactor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/python/Cantera/Reactor.py b/interfaces/python/Cantera/Reactor.py index acda04e93..27a6b1184 100644 --- a/interfaces/python/Cantera/Reactor.py +++ b/interfaces/python/Cantera/Reactor.py @@ -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)