File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1990,7 +1990,9 @@ def _process_observables(
19901990 {
19911991 name
19921992 for sigma in sigmas .values ()
1993- for symbol in sp .sympify (sigma ).free_symbols
1993+ for symbol in self ._sympy_from_sbml_math (
1994+ sigma
1995+ ).free_symbols
19941996 if re .match (r"noiseParameter\d+$" , (name := str (symbol )))
19951997 }
19961998 )
@@ -2008,7 +2010,9 @@ def _process_observables(
20082010 {
20092011 name
20102012 for obs in observables .values ()
2011- for symbol in sp .sympify (obs ["formula" ]).free_symbols
2013+ for symbol in self ._sympy_from_sbml_math (
2014+ obs ["formula" ]
2015+ ).free_symbols
20122016 if re .match (
20132017 r"observableParameter\d+$" , (name := str (symbol ))
20142018 )
Original file line number Diff line number Diff line change @@ -194,6 +194,8 @@ def check_fields_jax(
194194 "ts_posteq" : jnp .array (ts_posteq ),
195195 "my" : jnp .array (my ),
196196 "iys" : jnp .array (iys ),
197+ "ops" : jnp .zeros ((* my .shape [:2 ], 0 )),
198+ "nps" : jnp .zeros ((* my .shape [:2 ], 0 )),
197199 "iy_trafos" : jnp .array (iy_trafos ),
198200 "x_preeq" : jnp .array ([]),
199201 "solver" : diffrax .Kvaerno5 (),
You can’t perform that action at this time.
0 commit comments