[cantera] r3415 committed - [Cython/Reactor] Fix setting reactor name through the constructor...

3 views
Skip to first unread message

can...@googlecode.com

unread,
Feb 27, 2015, 7:26:32 PM2/27/15
to cantera...@googlegroups.com
Revision: 3415
Author: yar...@gmail.com
Date: Sat Feb 28 00:24:22 2015 UTC
Log: [Cython/Reactor] Fix setting reactor name through the constructor

This parameter wasn't being passed from Reactor to ReactorBase
https://code.google.com/p/cantera/source/detail?r=3415

Modified:
/cantera/trunk/interfaces/cython/cantera/reactor.pyx

=======================================
--- /cantera/trunk/interfaces/cython/cantera/reactor.pyx Thu Feb 12
04:04:55 2015 UTC
+++ /cantera/trunk/interfaces/cython/cantera/reactor.pyx Sat Feb 28
00:24:22 2015 UTC
@@ -179,7 +179,7 @@
>>> r3 = Reactor(name='adiabatic_reactor', contents=gas)

"""
- super().__init__(contents, **kwargs)
+ super().__init__(contents, name, **kwargs)

if energy == 'off':
self.energy_enabled = False
Reply all
Reply to author
Forward
0 new messages