# | Line 68 | Line 68 | namespace QuantLib { | |
---|---|---|
68 | ||
69 | void setCurrentValue(const DynamicVector<RealType>& currentValue) { | |
70 | currentValue_=currentValue; | |
71 | < | statusFunction_.writeStatus(); |
71 | > | statusFunction_.writeStatus(functionEvaluation_, |
72 | > | gradientEvaluation_, |
73 | > | currentValue_, |
74 | > | functionValue_); |
75 | } | |
76 | ||
77 | //! current value of the local minimum | |
# | Line 134 | Line 137 | namespace QuantLib { | |
137 | ||
138 | inline void Problem::reset() { | |
139 | functionEvaluation_ = gradientEvaluation_ = 0; | |
140 | < | functionValue_ = squaredNorm_ = NULL; |
140 | > | functionValue_ = squaredNorm_ = 0; |
141 | } | |
142 | ||
143 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |