From 0314eef0f7e1f804c2783ff200af510ca8377331 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Tue, 5 Mar 2013 17:04:35 +0000 Subject: [PATCH] [Python] Fixed an error when using a reactor heat flux function Fixes Issue 145. Cherry-picked from 2.0 bugfix branch. --- 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 f7ad3f7ac..c72b331e0 100644 --- a/interfaces/python/Cantera/Reactor.py +++ b/interfaces/python/Cantera/Reactor.py @@ -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)