Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58622 - trunk/libs/random
From: steven_at_[hidden]
Date: 2010-01-01 19:28:16


Author: steven_watanabe
Date: 2010-01-01 19:28:15 EST (Fri, 01 Jan 2010)
New Revision: 58622
URL: http://svn.boost.org/trac/boost/changeset/58622

Log:
Fix darwin ranlux failures.
Text files modified:
   trunk/libs/random/instantiate.cpp | 16 ++++++++--------
   1 files changed, 8 insertions(+), 8 deletions(-)

Modified: trunk/libs/random/instantiate.cpp
==============================================================================
--- trunk/libs/random/instantiate.cpp (original)
+++ trunk/libs/random/instantiate.cpp 2010-01-01 19:28:15 EST (Fri, 01 Jan 2010)
@@ -195,37 +195,37 @@
 // ranlux uses int32_t for seeding instead of result_type
 template<class ResultType>
 void instantiate_seed(const boost::ranlux3 & urng, const ResultType &) {
- instantiate_seed<boost::ranlux3, boost::int32_t>(urng, ResultType());
+ instantiate_seed<boost::ranlux3, boost::uint32_t>(urng, ResultType());
 }
 template<class ResultType>
 void instantiate_seed(const boost::ranlux4 & urng, const ResultType &) {
- instantiate_seed<boost::ranlux4, boost::int32_t>(urng, ResultType());
+ instantiate_seed<boost::ranlux4, boost::uint32_t>(urng, ResultType());
 }
 template<class ResultType>
 void instantiate_seed(const boost::ranlux3_01 & urng, const ResultType &) {
- instantiate_seed<boost::ranlux3_01, boost::int32_t>(urng, ResultType());
+ instantiate_seed<boost::ranlux3_01, boost::uint32_t>(urng, ResultType());
 }
 template<class ResultType>
 void instantiate_seed(const boost::ranlux4_01 & urng, const ResultType &) {
- instantiate_seed<boost::ranlux4_01, boost::int32_t>(urng, ResultType());
+ instantiate_seed<boost::ranlux4_01, boost::uint32_t>(urng, ResultType());
 }
 #if !defined(BOOST_NO_INT64_T) && !defined(BOOST_NO_INTEGRAL_INT64_T)
 template<class ResultType>
 void instantiate_seed(const boost::ranlux64_3 & urng, const ResultType &) {
- instantiate_seed<boost::ranlux64_3, boost::int32_t>(urng, ResultType());
+ instantiate_seed<boost::ranlux64_3, boost::uint32_t>(urng, ResultType());
 }
 template<class ResultType>
 void instantiate_seed(const boost::ranlux64_4 & urng, const ResultType &) {
- instantiate_seed<boost::ranlux64_3, boost::int32_t>(urng, ResultType());
+ instantiate_seed<boost::ranlux64_3, boost::uint32_t>(urng, ResultType());
 }
 #endif
 template<class ResultType>
 void instantiate_seed(const boost::ranlux64_3_01 & urng, const ResultType &) {
- instantiate_seed<boost::ranlux64_3_01, boost::int32_t>(urng, ResultType());
+ instantiate_seed<boost::ranlux64_3_01, boost::uint32_t>(urng, ResultType());
 }
 template<class ResultType>
 void instantiate_seed(const boost::ranlux64_4_01 & urng, const ResultType &) {
- instantiate_seed<boost::ranlux64_4_01, boost::int32_t>(urng, ResultType());
+ instantiate_seed<boost::ranlux64_4_01, boost::uint32_t>(urng, ResultType());
 }
 
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk