Login  Register

ql/cashflows/cashflows.cpp compile error

Posted by Sun, Xiuxin on Jul 29, 2008; 9:58am
URL: http://quantlib.414.s1.nabble.com/Pricing-volatility-surface-fast-tp6311p6312.html

HI all,
a compile error 'Error: Different types for "?:"
(QuantLib::Settings::DateProxy& and const QuantLib::Date&).'
at         Date d = (refDate==Date() ?
                     Settings::instance().evaluationDate() :
                     refDate);
I find that return type from Settings::instance().evaluationDate() is
DateProxy and different from Date, could someone give a clue ?
thanks,
sun

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users