Skip to content

Commit 4aa47d6

Browse files
committed
format
1 parent adf70fb commit 4aa47d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/jumpsystem.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -537,16 +537,16 @@ end
537537
@testset "JumpProcess simulation should be Int64 valued (#3446)" begin
538538
@parameters p d
539539
@variables X(t)
540-
rate1 = p
541-
rate2 = X*d
540+
rate1 = p
541+
rate2 = X * d
542542
affect1 = [X ~ X + 1]
543543
affect2 = [X ~ X - 1]
544544
j1 = ConstantRateJump(rate1, affect1)
545545
j2 = ConstantRateJump(rate2, affect2)
546546

547547
# Works.
548-
@mtkbuild js = JumpSystem([j1, j2], t, [X], [p,d])
549-
dprob = DiscreteProblem(js, [X => 15], (0.0, 10.), [p => 2.0, d => 0.5])
548+
@mtkbuild js = JumpSystem([j1, j2], t, [X], [p, d])
549+
dprob = DiscreteProblem(js, [X => 15], (0.0, 10.0), [p => 2.0, d => 0.5])
550550
jprob = JumpProblem(js, dprob, Direct())
551551
sol = solve(jprob, SSAStepper())
552552
@test eltype(sol[X]) === Int64

0 commit comments

Comments
 (0)