Commit 305524f1 by Francois Gygi

check line minimizer status to restart

git-svn-id: http://qboxcode.org/svn/qb/trunk@1004 cba15fb0-1239-40c8-b417-11db7ca47a34
parent cfa22115
......@@ -88,7 +88,7 @@ void SDAIonicStepper::compute_r(double e0, const vector<vector< double> >& f0)
}
}
if ( first_step_ || (wolfe1 && wolfe2) )
if ( first_step_ || (wolfe1 && wolfe2) || linmin_.done() )
{
// set new descent direction
// pc = f0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment