Skip to content

Commit cbfdf88

Browse files
authored
use _reshape
1 parent 5f77fd4 commit cbfdf88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/OrdinaryDiffEqBDF/src/controllers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ function choose_order!(alg::FBDF, integrator,
217217
terk_tmp = similar(u)
218218
@.. terk_tmp = fd_weights[k - 2, 1] * _vec(u)
219219
for i in 2:(k - 2)
220-
@.. terk_tmp += fd_weights[i, k - 2] * $(reshape(view(u_history, :, i - 1), size(u)))
220+
@.. terk_tmp += fd_weights[i, k - 2] * $(_reshape(view(u_history, :, i - 1), axes(u)))
221221
end
222222
@.. terk_tmp *= abs(dt^(k - 2))
223223
end

0 commit comments

Comments
 (0)