|
From: Rahul R. K. <rah...@gm...> - 2011-07-18 21:47:36
|
Hi All, I have this wierd problem when running test suite. An exception is thrown when testsuite is run in debug mode. But when run in release mode it is successfull as some of the asserts are skipped in release mode. Note: I have checked out latest quantlib using tortoiseSVN and built it. Finally when i ran testsuite, an exception is thrown. Stack trace is attached. Could you please let me know if this a known behavior. Error Message: ========== First-chance exception at 0x763cc83b in QuantLib-test-suite-vc100-mt-gd.exe: Microsoft C++ exception: QuantLib::Error at memory location 0x0017a008.. Stack trace is shown below: ===================== ThrowException QuantLib-test-suite-vc100-mt-gd.exe!QuantLib::TermStructure::checkRange(double t, bool extrapolate) Line 77 QuantLib-test-suite-vc100-mt-gd.exe!QuantLib::YieldTermStructure::discount(double t, bool extrapolate) Line 93 QuantLib-test-suite-vc100-mt-gd.exe!QuantLib::YieldTermStructure::discount(const QuantLib::Date &d, bool extrapolate) Line 188 QuantLib-test-suite-vc100-mt-gd.exe!QuantLib::DiscountingSwapEngine::calculate() Line 94 QuantLib-test-suite-vc100-mt-gd.exe!QuantLib::Instrument::performCalculations() Line 168 QuantLib-test-suite-vc100-mt-gd.exe!QuantLib::LazyObject::calculate() Line 140 QuantLib-test-suite-vc100-mt-gd.exe!QuantLib::Instrument::calculate() Line 155 QuantLib-test-suite-vc100-mt-gd.exe!QuantLib::AssetSwap::fairCleanPrice() Line 221 QuantLib-test-suite-vc100-mt-gd.exe!AssetSwapTest::testConsistency() Line 163 ...... ..... |