We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 554e7ae + be3aafc commit a7550d5Copy full SHA for a7550d5
src/common_interface/callbacks.jl
@@ -58,7 +58,7 @@ end
58
interp_index = callback.interp_points
59
elseif callback.interp_points!=0 # Use the interpolants for safety checking
60
tmp = integrator.tmp
61
- for i in 2:length(Θs)-1
+ for i in 2:length(Θs)
62
if !(typeof(callback.idxs) <: Number)
63
integrator(tmp,integrator.tprev+dt*Θs[i])
64
callback.idxs == nothing ? _tmp = tmp : _tmp = @view tmp[callback.idxs]
0 commit comments