Skip to content

Commit

Permalink
:Facepalm:
Browse files Browse the repository at this point in the history
  • Loading branch information
palday committed Nov 8, 2024
1 parent a9ce864 commit 61ed6f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pls.jl
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ end
fm_mod = deepcopy(fm)
fm_mod.optsum.fmin += 1
saveoptsum(seekstart(io), fm_mod)
@test_throws(ArgumentError("model at final does not give stored fmin within atol=0.0, rtol=1.0e-8"),
@test_throws(ArgumentError("model at final does not match stored fmin within atol=0.0, rtol=1.0e-8"),
restoreoptsum!(m, seekstart(io); atol=0.0, rtol=1e-8))
restoreoptsum!(m, seekstart(io); atol=1)
@test m.optsum.fmin - fm.optsum.fmin 1
Expand Down

0 comments on commit 61ed6f3

Please sign in to comment.