Skip to content

Commit de84a61

Browse files
committed
use get_rxs in test
1 parent 1a6d537 commit de84a61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/model_simulation/simulate_SDEs.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ let
265265

266266
# Checks that systems have the correct noise scaling terms.
267267
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]
268+
rn1_noise_scaling = [get_noise_scaling(rx) for rx in get_rxs(rn)]
269+
rn2_noise_scaling = [get_noise_scaling(rx) for rx in get_rxs(Catalyst.get_systems(rn)[1])]
270270
rn_noise_scaling = [get_noise_scaling(rx) for rx in reactions(rn)]
271271
@test issetequal(rn1_noise_scaling, [2.0, 0.5])
272272
@test issetequal(rn2_noise_scaling, [5.0, 0.5])

0 commit comments

Comments
 (0)