From b24dcc9af8c26241825093762a8e8b984ece5f23 Mon Sep 17 00:00:00 2001 From: Aaron Fenyes Date: Thu, 18 Jul 2024 01:04:40 -0700 Subject: [PATCH] Report success correctly when step limit is reached --- engine-proto/gram-test/Engine.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine-proto/gram-test/Engine.jl b/engine-proto/gram-test/Engine.jl index 40b77b0..ac5fe54 100644 --- a/engine-proto/gram-test/Engine.jl +++ b/engine-proto/gram-test/Engine.jl @@ -445,7 +445,7 @@ function realize_gram( # return the factorization and its history push!(history.scaled_loss, loss / scale_adjustment) - L, true, history + L, loss < tol, history end end \ No newline at end of file