Skip to content

Commit 1a6d537

Browse files
committed
up
1 parent b41bb7b commit 1a6d537

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Catalyst.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export make_empty_network, addspecies!, addparam!, addreaction!, reactionparamsm
9191
export dependants, dependents, substoichmat, prodstoichmat, netstoichmat
9292
export conservationlaws, conservedquantities, conservedequations, conservationlaw_constants
9393
export isequivalent
94-
export remake_noise_scaling, get_noise_scaling, has_noise_scaling
94+
export set_default_noise_scaling, get_noise_scaling, has_noise_scaling
9595

9696
# depreciated functions to remove in future releases
9797
export params, numparams

test/model_simulation/simulate_SDEs.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ let
241241
p, 0 --> X, [noise_scaling=2.0]
242242
d, X --> 0
243243
end
244-
noise_scaling_network2 = remake_noise_scaling(noise_scaling_network1, 0.5)
244+
noise_scaling_network2 = set_default_noise_scaling(noise_scaling_network1, 0.5)
245245

246246
# Checks that the two networks' reactions have the correct metadata.
247247
@test reactions(noise_scaling_network1)[1].metadata == [:noise_scaling => 2.0]
@@ -264,7 +264,7 @@ let
264264
rn = compose(rn1, [rn2])
265265

266266
# Checks that systems have the correct noise scaling terms.
267-
rn = Catalyst.remake_ReactionSystem_internal(rn, default_reaction_metadata = [:noise_scaling => 0.5])
267+
rn = set_default_noise_scaling(rn, 0.5)
268268
rn1_noise_scaling = [get_noise_scaling(rx) for rx in rn.rxs]
269269
rn2_noise_scaling = [get_noise_scaling(rx) for rx in Catalyst.get_systems(rn)[1].rxs]
270270
rn_noise_scaling = [get_noise_scaling(rx) for rx in reactions(rn)]

0 commit comments

Comments
 (0)