Login  Register

Re: Floating RateBond

Posted by Luigi Ballabio on Nov 06, 2007; 2:53pm
URL: http://quantlib.414.s1.nabble.com/Floating-RateBond-tp1544p1556.html


On Tue, 2007-11-06 at 06:43 -0800, amandine vincotte wrote:
> The program breaks down when evaluating the
> FloatingRateCoupon::amount() function in the floatingratecoupon.cpp

Try enclosing your code in:

try {
    // your code
} catch (std::exception& e) {
    cout << e.what() << endl;
}

What does it print?

Luigi


--

A debugged program is one for which you have not yet found the
conditions that make it fail.
-- Jerry Ogdin



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users