From e4e28d963f8d2a621022c58affda5dd8d2f1f3f6 Mon Sep 17 00:00:00 2001 From: Axel Larsson <65452706+axla-io@users.noreply.github.com> Date: Thu, 21 Sep 2023 15:30:26 -0400 Subject: [PATCH] testnorm change --- src/dfsane.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dfsane.jl b/src/dfsane.jl index 1c78d766a..b9125d67b 100644 --- a/src/dfsane.jl +++ b/src/dfsane.jl @@ -195,7 +195,7 @@ function perform_step!(cache::DFSaneCache{true}) test_norm = sqrt(sum(abs2, cache.fuₙ₋₁)) if test_norm > 1 cache.σₙ = 1.0 - elseif testnorm < 1e-5 + elseif test_norm < 1e-5 cache.σₙ = 1e5 else cache.σₙ = 1.0 / test_norm