Skip to content

Commit

Permalink
more printing
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Dec 23, 2017
1 parent 1813898 commit 965f778
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/callbacks.jl
Expand Up @@ -113,6 +113,7 @@ function find_callback_time(integrator,callback)
callback.condition(integrator.tprev+Θ*integrator.dt,tmp,integrator)
end
@show (bottom_θ,top_Θ)
@show integrator.tprev,integrator.t
@show integrator.uprev,integrator.u
Θ = prevfloat(prevfloat(find_zero(zero_func,(bottom_θ,top_Θ),FalsePosition(),abstol = callback.abstol/10,verbose = true)))
# 2 prevfloat guerentees that the new time is either 1 or 2 floating point
Expand Down

0 comments on commit 965f778

Please sign in to comment.