|
From: Mark j. <mar...@gm...> - 2013-05-31 00:44:28
|
ok it seems to work, i have committed it.,
Mark
On 30 May 2013 20:33, Peter Caspers <pca...@gm...> wrote:
> Hi Mark,
>
> can you please replace the file test-suite/markovfunctional.cpp with the
> attached one and see if it works then ?
>
>
> It seems map:at is not supported by vc9. Therefore I changed line 1015 as
> follows
>
> - Real blackVega =
> boost::any_cast<Real>(ch1[i].additionalResults().at("vega"));
> + Real blackVega = ch1[i].result<Real>("vega");
>
> and line 1075 respectively
>
> - Real blackVega =
> boost::any_cast<Real>(ch2[i].additionalResults().at("vega"));
> + Real blackVega = ch2[i].result<Real>("vega");
>
> regards
> Peter
>
> Am 30.05.2013 08:27, schrieb Mark joshi:
>
> OK I checked out and did a full build of QuantLib for the first time in
> a long time today.
>
> The testsuite built and passed with VC11
>
> With VC9 I get
>
> 1>.\markovfunctional.cpp(1015) : error C2039: 'at' : is not a member of
> 'std::map<_Kty,_Ty>'
> 1> with
> 1> [
> 1> _Kty=std::string,
> 1> _Ty=boost::any
> 1> ]
>
> Are we still targeting VC9?
>
> best
>
> Mark
>
>
> --
>
> Prof Mark Joshi
> Centre for Actuarial Studies
> University of Melbourne
> My website is www.markjoshi.com
>
>
> ------------------------------------------------------------------------------
> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
> Get 100% visibility into your production application - at no cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead
> Download for free and get started troubleshooting in minutes.http://p.sf.net/sfu/appdyn_d2d_ap1
>
>
>
> _______________________________________________
> QuantLib-dev mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quantlib-dev
>
>
>
>
>
--
Prof Mark Joshi
Centre for Actuarial Studies
University of Melbourne
My website is www.markjoshi.com
|