Skip to content

Commit

Permalink
Cache tests: make Θ range in [0.25, 0.45)
Browse files Browse the repository at this point in the history
  • Loading branch information
YingboMa committed Mar 21, 2019
1 parent 7a2285f commit 938b627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ode/ode_cache_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ affect! = function (integrator)
u = integrator.u
resize!(integrator,length(u)+1)
maxidx = findmax(u)[2]
Θ = rand()
Θ = rand()/5 + 0.25
u[maxidx] = Θ
u[end] = 1-Θ
nothing
Expand Down

1 comment on commit 938b627

@ChrisRackauckas
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see how it's going crazy sometimes lol

Please sign in to comment.