Skip to content

Commit a7550d5

Browse files
Merge remote-tracking branch 'origin/master'
2 parents 554e7ae + be3aafc commit a7550d5

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
@@ -58,7 +58,7 @@ end
5858
interp_index = callback.interp_points
5959
elseif callback.interp_points!=0 # Use the interpolants for safety checking
6060
tmp = integrator.tmp
61-
for i in 2:length(Θs)-1
61+
for i in 2:length(Θs)
6262
if !(typeof(callback.idxs) <: Number)
6363
integrator(tmp,integrator.tprev+dt*Θs[i])
6464
callback.idxs == nothing ? _tmp = tmp : _tmp = @view tmp[callback.idxs]

0 commit comments

Comments
 (0)