Skip to content

Commit

Permalink
testnorm change
Browse files Browse the repository at this point in the history
  • Loading branch information
axla-io committed Sep 21, 2023
1 parent ebdcb4e commit e4e28d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dfsane.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check warning on line 199 in src/dfsane.jl

View check run for this annotation

Codecov / codecov/patch

src/dfsane.jl#L194-L199

Added lines #L194 - L199 were not covered by tests
else
cache.σₙ = 1.0 / test_norm

Check warning on line 201 in src/dfsane.jl

View check run for this annotation

Codecov / codecov/patch

src/dfsane.jl#L201

Added line #L201 was not covered by tests
Expand Down

0 comments on commit e4e28d9

Please sign in to comment.