Skip to content

Commit c1ab2b0

Browse files
fixed typo and set inputs outputs after super.init
1 parent 2ae9216 commit c1ab2b0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • src/pathsim_chem/tritium

src/pathsim_chem/tritium/glc.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,9 @@ def __init__(
383383
"elements": initial_nb_of_elements,
384384
"BCs": BCs,
385385
}
386-
self.intputs = Register(
386+
super().__init__(func=self.func)
387+
388+
self.inputs = Register(
387389
size=4,
388390
mapping={
389391
"c_T_in": 0,
@@ -405,7 +407,6 @@ def __init__(
405407
"n_T_out_gas": 7,
406408
},
407409
)
408-
super().__init__(func=self.func)
409410

410411
def func(self, c_T_in, flow_l, y_T2_inlet, flow_g):
411412
new_params = self.params.copy()

0 commit comments

Comments
 (0)