Skip to content

Commit

Permalink
run JuliaFormatter
Browse files Browse the repository at this point in the history
  • Loading branch information
thevolatilebit committed Oct 10, 2023
1 parent 2f008cf commit b82c53d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/state.jl
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ function compile_observables(acs::ReactionNetworkSchema)
opts.range,
)

push!(observables, name => Observable(string(name), -Inf, range, opts.every, on, missing))
push!(
observables,
name => Observable(string(name), -Inf, range, opts.every, on, missing),
)
end

return observables
Expand Down
2 changes: 1 addition & 1 deletion tutorial/example.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ u0 = [999, 10, 0] # alternative specification
@prob_params sir_acs β = 0.0001 ν = 0.01 γ = 5
@prob_meta sir_acs tspan = 100

prob = ReactionNetworkProblem(sir_acs, tspan = 200)
prob = ReactionNetworkProblem(sir_acs; tspan = 200)

sol = simulate(prob)

Expand Down
2 changes: 1 addition & 1 deletion tutorial/toy_pharma_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ prob = ReactionNetworkProblem(toy_pharma_model)

sol = simulate(prob)

draw(sol)
draw(sol)

0 comments on commit b82c53d

Please sign in to comment.