Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacsas committed Aug 6, 2024
1 parent 55a1f94 commit 10489f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/systems/jumps/jumpsystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ function JumpProcesses.JumpProblem(js::JumpSystem, prob,
jset = JumpSet(Tuple(vrjs), Tuple(crjs), nothing, majs)

if needs_vartojumps_map(aggregator) || needs_depgraph(aggregator) ||
(aggregator isa JumpProcesses.NullAggregator)
(aggregator isa JumpProcesses.NullAggregator)
jdeps = asgraph(js)
vdeps = variable_dependencies(js)
vtoj = jdeps.badjlist
Expand Down
3 changes: 1 addition & 2 deletions test/jumpsystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@ affect = [X ~ X - 1]
j1 = ConstantRateJump(k, [X ~ X - 1])
@test_nowarn @mtkbuild js1 = JumpSystem([j1], t, [X], [k])


# test correct autosolver is selected, which implies appropriate dep graphs are available
let
@parameters k
Expand All @@ -293,4 +292,4 @@ let
jprob = JumpProblem(jsys, dprob)
@test jprob.aggregator isa algtype
end
end
end

0 comments on commit 10489f5

Please sign in to comment.