Report success correctly when step limit is reached

This commit is contained in:
Aaron Fenyes 2024-07-18 01:04:40 -07:00
parent b040bbb7fe
commit b24dcc9af8

View File

@ -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