Skip to content

Commit 0554143

Browse files
committed
Fix RAT related global error control
1 parent 31a473a commit 0554143

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/BoundaryValueDiffEqMIRK/src/adaptivity.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ end
561561
errors.u,
562562
[
563563
ifelse(maximum(abs.(err.u[i])) >= maximum(abs.(err.u[i + 1])), err.u[i], err.u[i + 1])
564-
for i in 1:(length(err) - 1)
564+
for i in 1:(length(err.u) - 1)
565565
]
566566
)
567567
end

0 commit comments

Comments
 (0)