stochastic_solvers.m: Suppress redundant warning if order was already set to 1
parent
5bae0a8cb1
commit
6ca415ce14
|
@ -53,7 +53,7 @@ if options_.linear
|
|||
end
|
||||
|
||||
local_order = options_.order;
|
||||
if M_.hessian_eq_zero
|
||||
if M_.hessian_eq_zero && local_order~=1
|
||||
local_order = 1;
|
||||
warning('stochastic_solvers: using order = 1 because Hessian is equal to zero');
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue