[Cython/Reactor] Fix setting reactor name through the constructor
This parameter wasn't being passed from Reactor to ReactorBase
This commit is contained in:
parent
a15cb7d95c
commit
ff3a1cc385
1 changed files with 1 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ cdef class Reactor(ReactorBase):
|
|||
>>> r3 = Reactor(name='adiabatic_reactor', contents=gas)
|
||||
|
||||
"""
|
||||
super().__init__(contents, **kwargs)
|
||||
super().__init__(contents, name, **kwargs)
|
||||
|
||||
if energy == 'off':
|
||||
self.energy_enabled = False
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue