Login  Register

[ quantlib-Bugs-533487 ] hard to invoke method McPricer::value()

Posted by SourceForge.net on Mar 22, 2002; 2:37am
URL: http://quantlib.414.s1.nabble.com/quantlib-Bugs-533487-hard-to-invoke-method-McPricer-value-tp10030.html

Bugs item #533487, was opened at 2002-03-22 00:25
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=112740&aid=533487&group_id=12740

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: hard to invoke method McPricer::value()

Initial Comment:
It's not a real bug, but I think it should be better
to change the prototype of the methods value() of the
class McPricer because to call the method

McPricer::value(size_t samples)

you need to write

object_Mc_Pricer.value(size_t(100));

My compiler (the free Borland line compiler) tells me
that if I write

object_Mc_Pricer.value(100);

is ambiguos with McPricer::value(double, size_t);

thank you

----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=112740&aid=533487&group_id=12740