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 VC111>.\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> ] 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 list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
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:
------------------------------------------------------------------------------ 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 list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev markovfunctional.zip (14K) Download Attachment |
ok it seems to work, i have committed it., Mark On 30 May 2013 20:33, Peter Caspers <[hidden email]> wrote:
-- Prof Mark Joshi Centre for Actuarial Studies University of Melbourne My website is www.markjoshi.com ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Free forum by Nabble | Edit this page |