We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_rxs
1 parent 1a6d537 commit de84a61Copy full SHA for de84a61
test/model_simulation/simulate_SDEs.jl
@@ -265,8 +265,8 @@ let
265
266
# Checks that systems have the correct noise scaling terms.
267
rn = set_default_noise_scaling(rn, 0.5)
268
- rn1_noise_scaling = [get_noise_scaling(rx) for rx in rn.rxs]
269
- rn2_noise_scaling = [get_noise_scaling(rx) for rx in Catalyst.get_systems(rn)[1].rxs]
+ rn1_noise_scaling = [get_noise_scaling(rx) for rx in get_rxs(rn)]
+ rn2_noise_scaling = [get_noise_scaling(rx) for rx in get_rxs(Catalyst.get_systems(rn)[1])]
270
rn_noise_scaling = [get_noise_scaling(rx) for rx in reactions(rn)]
271
@test issetequal(rn1_noise_scaling, [2.0, 0.5])
272
@test issetequal(rn2_noise_scaling, [5.0, 0.5])
0 commit comments