|
From: Dirk E. <ed...@de...> - 2006-08-04 02:42:59
|
On 3 August 2006 at 11:57, Luigi Ballabio wrote:
|
| On 07/28/2006 11:48:14 PM, Dirk Eddelbuettel wrote:
| > it failed on hppa with an actual error.
|
| Dirk,
| apologies for the delay. You might try to patch the source for
| hppa only (can you do this?)
Nope. Source is generic. But #ifdef could be my friend ...
| I'm attaching the (untested) patch to
| this message.
Thanks. Hppa tried the 0.3.13-2 today and failed, so I will need to fix this.
Hm, looking at the patch -- Why wouldn't we want the patch on all arches?
Dirk
| Later,
| Luigi
|
|
| ----------------------------------------
|
| Steinbach's Guideline for Systems Programming:
| Never test for an error condition you don't know how to handle.
| Index: ql/Pricers/mcpricer.hpp
| ===================================================================
| RCS file: //cvsroot/quantlib/QuantLib/ql/Pricers/mcpricer.hpp,v
| retrieving revision 1.37
| diff -C3 -r1.37 mcpricer.hpp
| *** ql/Pricers/mcpricer.hpp 18 Mar 2005 09:14:10 -0000 1.37
| --- ql/Pricers/mcpricer.hpp 3 Aug 2006 09:58:11 -0000
| ***************
| *** 53,65 ****
| protected:
| McPricer() {}
| mutable boost::shared_ptr<MonteCarloModel<MC,S> > mcModel_;
| ! static const Size minSample_;
| };
|
|
| - template<class MC, class S>
| - const Size McPricer<MC,S>::minSample_ = 1023;
| -
| // inline definitions
| template<class MC, class S>
| inline Real McPricer<MC,S>::value(Real tolerance,
| --- 53,62 ----
| protected:
| McPricer() {}
| mutable boost::shared_ptr<MonteCarloModel<MC,S> > mcModel_;
| ! static const Size minSample_ = 1023;
| };
|
|
| // inline definitions
| template<class MC, class S>
| inline Real McPricer<MC,S>::value(Real tolerance,
|
| -------------------------------------------------------------------------
| Take Surveys. Earn Cash. Influence the Future of IT
| Join SourceForge.net's Techsay panel and you'll get the chance to share your
| opinions on IT & business topics through brief surveys -- and earn cash
| http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________
| QuantLib-dev mailing list
| Qua...@li...
| https://lists.sourceforge.net/lists/listinfo/quantlib-dev
--
Hell, there are no rules here - we're trying to accomplish something.
-- Thomas A. Edison
|