Report success correctly when step limit is reached
This commit is contained in:
parent
b040bbb7fe
commit
b24dcc9af8
@ -445,7 +445,7 @@ function realize_gram(
|
|||||||
|
|
||||||
# return the factorization and its history
|
# return the factorization and its history
|
||||||
push!(history.scaled_loss, loss / scale_adjustment)
|
push!(history.scaled_loss, loss / scale_adjustment)
|
||||||
L, true, history
|
L, loss < tol, history
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user