Patches item #502906, was opened at 2002-01-12 20:00
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=312740&aid=502906&group_id=12740Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: edward (tailbert)
Assigned to: Nobody/Anonymous (nobody)
Summary: std::abs in Swap example
Initial Comment:
use `std::abs' explicitly. a number of systems have
abs() predefined (in my case, as abs(int)), in the swap
valuation example under Examples/Swap
patch attached as unified diff from the root directory
on a *unix* system (no carriage returns).
ps. is there a patch generation document?
if not, how about:
cd /path/to/QuantLib
diff -u dir/to/original-file dir/to/corrected-file > patch
great work, people!
edward
----------------------------------------------------------------------
>Comment By: Ferdinando Ametrano (nando)
Date: 2002-01-23 10:08
Message:
Logged In: YES
user_id=34616
Thank you Edward
we were using QL_FABS everywhere except the swap example.
Thank you for pointing this out
ciao -- Nando
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=312740&aid=502906&group_id=12740