Nonlinear solver: tolerance for first Newton iteration is now
smaller than for subsequent ones. Closes: #1668time-shift
parent
f2c04f7006
commit
f70f7761db
|
@ -64,7 +64,7 @@ end
|
|||
|
||||
f = 0.5*(fvec'*fvec) ;
|
||||
|
||||
if max(abs(fvec)) < tolf
|
||||
if max(abs(fvec)) < tolf*tolf
|
||||
return ;
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue