ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/optimization/Problem.hpp
(Generate patch)

Comparing branches/development/src/optimization/Problem.hpp (file contents):
Revision 1741 by gezelter, Tue Jun 5 18:02:44 2012 UTC vs.
Revision 1749 by gezelter, Thu Jun 7 02:47:21 2012 UTC

# Line 68 | Line 68 | namespace QuantLib {
68  
69          void setCurrentValue(const DynamicVector<RealType>& currentValue) {
70              currentValue_=currentValue;
71 <            statusFunction_.writeStatus();
71 >            statusFunction_.writeStatus(currentValue);
72          }
73  
74          //! current value of the local minimum
# Line 134 | Line 134 | namespace QuantLib {
134      
135      inline void Problem::reset() {
136          functionEvaluation_ = gradientEvaluation_ = 0;
137 <        functionValue_ = squaredNorm_ = NULL;
137 >        functionValue_ = squaredNorm_ = 0;
138      }
139      
140   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines