| # | 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 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |