[QuantLibAddin-cvs] QuantLibAddin/qlo ratehelpers.cpp,1.16,1.17
Brought to you by:
ericehlers,
nando
|
From: Ferdinando A. <na...@us...> - 2007-01-02 16:56:50
|
Update of /cvsroot/quantlibaddin/QuantLibAddin/qlo In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv18695/qlo Modified Files: ratehelpers.cpp Log Message: fix for VC7 Index: ratehelpers.cpp =================================================================== RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/ratehelpers.cpp,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** ratehelpers.cpp 2 Jan 2007 14:46:15 -0000 1.16 --- ratehelpers.cpp 2 Jan 2007 16:56:41 -0000 1.17 *************** *** 160,164 **** std::vector<detail::RateHelperItem> rhsAll; rhsAll.reserve(nInstruments); ! for (QuantLib::Size i=0; i<nInstruments; ++i) { OH_GET_OBJECT(qlarh, instrumentIDs[i], RateHelper); bool isFutures, isDepo; --- 160,165 ---- std::vector<detail::RateHelperItem> rhsAll; rhsAll.reserve(nInstruments); ! QuantLib::Size i = 0; ! for (i=0; i<nInstruments; ++i) { OH_GET_OBJECT(qlarh, instrumentIDs[i], RateHelper); bool isFutures, isDepo; *************** *** 195,199 **** QuantLib::Date frontFuturesEarliestDate; bool thereAreFutures = false; - QuantLib::Size i = 0; while (i<nInstruments) { if (rhsAll[i].isFutures && --- 196,199 ---- |