ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/optimization/EndCriteria.cpp
(Generate patch)

Comparing trunk/src/optimization/EndCriteria.cpp (file contents):
Revision 1880 by gezelter, Mon Jun 17 18:28:30 2013 UTC vs.
Revision 1981 by gezelter, Mon Apr 14 18:32:51 2014 UTC

# Line 144 | Line 144 | namespace QuantLib {
144              checkStationaryFunctionValue(fold, fnew, statStateIterations, ecType) ||
145              checkStationaryFunctionAccuracy(fnew, positiveOptimization, ecType) ||
146              checkZeroGradientNorm(normgnew, ecType);
147 +            sprintf(painCave.errMsg,
148 +                    "\n\tOptimization: Current iteration Count: ( %lu )\n",
149 +                    (unsigned long)iteration);
150 +            painCave.isFatal = 0;
151 +            painCave.severity = OPENMD_INFO;
152 +            simError();
153      }
154      
155      // Inspectors

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines