Skip to content

Commit

Permalink
unnecessary warning in LAStopping
Browse files Browse the repository at this point in the history
  • Loading branch information
tmigot committed Sep 30, 2020
1 parent 2387ef3 commit c76432d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Stopping/LinearAlgebraStopping.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,6 @@ See also GenericStopping, NLPStopping, LS\\_Stopping, linear\\_system\\_check, n
zero_start :: Bool = false,
kwargs...)

try
pb.A, pb.b
catch
throw("pb must have A and b entries")
end

if !(isempty(kwargs))
meta = StoppingMeta(;max_cntrs = _init_max_counters_NLS(), optimality_check = linear_system_check, kwargs...)
end
Expand Down Expand Up @@ -248,6 +242,8 @@ end
linear\\_system\\_check: return ||A'Ax-A'b||_p
`linear_system_check(:: Any, :: AbstractState; pnorm :: Float64 = Inf, kwargs...)`
Note: pb must have A and b entries
"""
function normal_equation_check(pb :: LinearSystem,
state :: AbstractState;
Expand Down

0 comments on commit c76432d

Please sign in to comment.