Hello Anton, Thank you for reporting this problem. I will fix this in cint5.14.74. Masaharu Goto >Date: Sun, 4 Feb 2001 12:00:05 +0100 >From: Fons Rademakers <Fons.Rademakers@cern.ch> >To: Masaharu Goto <MXJ02154@niftyserve.or.jp> >Cc: Rene Brun <rene.brun@cern.ch> >Subject: [anton.fokin@smartquant.com: [ROOT] CINT problem] > >Hi Masa, > > can you answer this? > >Cheers, Fons. > > >----- Forwarded message from Anton Fokin <anton.fokin@smartquant.com> ----- > >From: "Anton Fokin" <anton.fokin@smartquant.com> >To: "roottalk" <roottalk@pcroot.cern.ch> >Subject: [ROOT] CINT problem >Date: Sat, 3 Feb 2001 23:40:31 +0100 >X-Priority: 3 >X-MSMail-Priority: Normal >X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 > >Hi rooters, > >I've noticed that > > cout << "Implied volatility = " << >TFinMath::ImpliedVolatility(S,X,t,r,P,TOption::kCall,TOption::kBinomial) << >endl; > >doesn't work in CINT producing > >Error: class,struct,union or type ImpliedVolatility(S,X,t,r,P,TOption not >define >d FILE:c:\root\macros\FinMath\BlackScholes.C LINE:41 >Error: class,struct,union or type kCall,TOption not defined >FILE:c:\root\macros >\FinMath\BlackScholes.C LINE:41 >*** Interpreter error recovered *** > >Although > > Double_t V = >TFinMath::ImpliedVolatility(S,X,t,r,P,TOption::kCall,TOption::kBinomial); > > cout << "Implied volatility = " << V << endl; > > >works fine. Any comments? > >Regards, >Anton > >http://www.smartquant.com > > > >----- End forwarded message ----- > >-- >Org: CERN, European Laboratory for Particle Physics. >Mail: 1211 Geneve 23, Switzerland >E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 >WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:35 MET