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.
1 parent f26e534 commit be3aafcCopy full SHA for be3aafc
src/common_interface/callbacks.jl
@@ -56,7 +56,7 @@ end
56
interp_index = callback.interp_points
57
elseif callback.interp_points!=0 # Use the interpolants for safety checking
58
tmp = integrator.tmp
59
- for i in 2:length(Θs)-1
+ for i in 2:length(Θs)
60
if !(typeof(callback.idxs) <: Number)
61
integrator(tmp,integrator.tprev+dt*Θs[i])
62
callback.idxs == nothing ? _tmp = tmp : _tmp = @view tmp[callback.idxs]
0 commit comments