|
From: Luigi B. <lui...@gm...> - 2008-02-06 16:21:15
|
On Wed, 2008-02-06 at 07:33 -0800, na...@us... wrote: > Revision: 14294 > http://quantlib.svn.sourceforge.net/quantlib/?rev=14294&view=rev > Author: nando > Date: 2008-02-06 07:33:10 -0800 (Wed, 06 Feb 2008) > > Modified Paths: > -------------- > trunk/QuantLib/test-suite/marketmodel.cpp > > Modified: trunk/QuantLib/test-suite/marketmodel.cpp > =================================================================== > @@ -1224,19 +1224,21 @@ > > for (Size i=0; i < numberBigRates; ++i) { > if (fabs(capletErrorsInSds[i]) > capletTolerance) { > - BOOST_FAIL(io::ordinal(i+1) << "caplet , approx price " << > - approxCapletPrices[i] << > - ", \t simulation price " << results[i] << > - ", \t error in sds " << capletErrorsInSds[i]); > + BOOST_MESSAGE(io::ordinal(i+1) << "caplet , approx price " << > + approxCapletPrices[i] << > + ", \t simulation price " << results[i] << > + ", \t error in sds " << capletErrorsInSds[i]); > } > + BOOST_ERROR("test failed"); Ehm... is this supposed to fail at every loop? Shouldn't the error be in the "if" clause? Luigi -- Never mistake motion for action. -- Ernest Hemingway |