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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

SourceForge.net
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