[QuantLibAddin-cvs] QuantLibAddin/qlo couponvectors.cpp,1.29,1.30
Brought to you by:
ericehlers,
nando
|
From: Cristina D. <cdu...@us...> - 2006-09-06 09:14:41
|
Update of /cvsroot/quantlibaddin/QuantLibAddin/qlo In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv6250/qlo Modified Files: couponvectors.cpp Log Message: removed useless code Index: couponvectors.cpp =================================================================== RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/couponvectors.cpp,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** couponvectors.cpp 6 Sep 2006 08:44:31 -0000 1.29 --- couponvectors.cpp 6 Sep 2006 09:14:37 -0000 1.30 *************** *** 73,77 **** cf[1]=cashflows[i]->amount(); } catch(...) { - cf[1]=std::string("N/A"); } boost::shared_ptr<QuantLib::SimpleCashFlow> simpleCashFlow = --- 73,76 ---- *************** *** 95,99 **** cf[8]=c->rate(); } catch(...) { - cf[8]=std::string("N/A"); } boost::shared_ptr<QuantLib::FloatingRateCoupon> floatingCoupon = --- 94,97 ---- *************** *** 112,121 **** cf[14]=floatingCoupon->indexFixing(); } catch(...) { - cf[14]=std::string("N/A"); } try { cf[15]=floatingCoupon->convexityAdjustment(); } catch(...) { - cf[15]=std::string("N/A"); } cf[16]=floatingCoupon->spread(); --- 110,117 ---- *************** *** 130,134 **** cf[14]=cmsCoupon->indexFixing(); } catch(...) { - cf[14]=std::string("N/A"); } try { --- 126,129 ---- *************** *** 136,140 **** } catch(...) { - cf[15]=std::string("N/A"); } cf[16]=cmsCoupon->spread(); --- 131,134 ---- |