[QuantLibAddin-cvs] QuantLibAddin/qlo ratehelpers.cpp,1.7,1.8
Brought to you by:
ericehlers,
nando
|
From: Ferdinando A. <na...@us...> - 2006-10-03 17:24:23
|
Update of /cvsroot/quantlibaddin/QuantLibAddin/qlo In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv25841/qlo Modified Files: ratehelpers.cpp Log Message: setValue returns the diff Index: ratehelpers.cpp =================================================================== RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/ratehelpers.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ratehelpers.cpp 27 Jul 2006 09:37:46 -0000 1.7 --- ratehelpers.cpp 3 Oct 2006 17:24:15 -0000 1.8 *************** *** 33,41 **** namespace QuantLibAddin { ! double RateHelper::setQuote(double quote) ! { ! double diff = quote - quote_->value(); ! quote_->setValue(quote); ! return diff; } --- 33,38 ---- namespace QuantLibAddin { ! double RateHelper::setQuote(double quote) { ! return quote_->setValue(quote); } |