--- Begin Message ---
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?) I'm attaching the (untested) patch to
this message.
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
QuantLib-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
--- End Message ---