From 4f84af2ff09b876b401812290fe06454d36314ed Mon Sep 17 00:00:00 2001 From: Viktor Svensson <13223396+cvsvensson@users.noreply.github.com> Date: Thu, 16 Apr 2026 14:10:02 +0200 Subject: [PATCH] prevent out of bounds access in local_schurfact! --- src/schurfact.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schurfact.jl b/src/schurfact.jl index fa2561c..545fc07 100644 --- a/src/schurfact.jl +++ b/src/schurfact.jl @@ -500,7 +500,7 @@ function local_schurfact!( # iteration count iter = 0 - @inbounds while true + @inbounds while to > start iter += 1 iter > maxiter && return false