Skip to content

Commit be3aafc

Browse files
Update callbacks.jl
1 parent f26e534 commit be3aafc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common_interface/callbacks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ end
5656
interp_index = callback.interp_points
5757
elseif callback.interp_points!=0 # Use the interpolants for safety checking
5858
tmp = integrator.tmp
59-
for i in 2:length(Θs)-1
59+
for i in 2:length(Θs)
6060
if !(typeof(callback.idxs) <: Number)
6161
integrator(tmp,integrator.tprev+dt*Θs[i])
6262
callback.idxs == nothing ? _tmp = tmp : _tmp = @view tmp[callback.idxs]

0 commit comments

Comments
 (0)