From 17f9379b5dca53e6f7a8f4855059bbe2c9899448 Mon Sep 17 00:00:00 2001 From: Ryan Medlin Date: Sat, 7 Mar 2026 15:20:18 -0700 Subject: [PATCH] Updated thermo_add.py line 121 to be compatible with OpenMDAO 3.42.0 (see pyCycle issue #116) --- pycycle/thermo/tabular/thermo_add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycycle/thermo/tabular/thermo_add.py b/pycycle/thermo/tabular/thermo_add.py index b2c19c34..bc863f3a 100644 --- a/pycycle/thermo/tabular/thermo_add.py +++ b/pycycle/thermo/tabular/thermo_add.py @@ -118,7 +118,7 @@ def compute(self, inputs, outputs): W_air_mix = W_air_in # for reactant mode, we reference from the incoming air W_other_mix = W_air_mix * ratio outputs[f'{mix_name}:W'] = W_other_mix - W_other_out[self.idx_compo] += W_other_mix + W_other_out[self.idx_compo] += W_other_mix.item() W_out += W_other_mix W_times_h += W_other_mix*inputs[f'{mix_name}:h']