Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68276 - in sandbox/odeint/branches/karsten: boost/numeric/odeint/algebra/external libs/numeric/odeint/test/thrust
From: karsten.ahnert_at_[hidden]
Date: 2011-01-19 06:34:42


Author: karsten
Date: 2011-01-19 06:34:39 EST (Wed, 19 Jan 2011)
New Revision: 68276
URL: http://svn.boost.org/trac/boost/changeset/68276

Log:
* small bug fixing in thrust algebra and the example
Text files modified:
   sandbox/odeint/branches/karsten/boost/numeric/odeint/algebra/external/thrust_operations.hpp | 2 +-
   sandbox/odeint/branches/karsten/libs/numeric/odeint/test/thrust/check_thrust.cu | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/odeint/branches/karsten/boost/numeric/odeint/algebra/external/thrust_operations.hpp
==============================================================================
--- sandbox/odeint/branches/karsten/boost/numeric/odeint/algebra/external/thrust_operations.hpp (original)
+++ sandbox/odeint/branches/karsten/boost/numeric/odeint/algebra/external/thrust_operations.hpp 2011-01-19 06:34:39 EST (Wed, 19 Jan 2011)
@@ -27,7 +27,7 @@
                 const Fac1 m_alpha1;
                 const Fac2 m_alpha2;
 
- scale_sum2( const time_type alpha1 , const time_type alpha2 ) : m_alpha1( alpha1 ) , m_alpha2( alpha2 ) { }
+ scale_sum2( const Fac1 alpha1 , const Fac2 alpha2 ) : m_alpha1( alpha1 ) , m_alpha2( alpha2 ) { }
 
                 template< class Tuple >
                 __host__ __device__

Modified: sandbox/odeint/branches/karsten/libs/numeric/odeint/test/thrust/check_thrust.cu
==============================================================================
--- sandbox/odeint/branches/karsten/libs/numeric/odeint/test/thrust/check_thrust.cu (original)
+++ sandbox/odeint/branches/karsten/libs/numeric/odeint/test/thrust/check_thrust.cu 2011-01-19 06:34:39 EST (Wed, 19 Jan 2011)
@@ -53,7 +53,7 @@
 {
         state_type x(1);
         thrust::fill( x.begin() , x.end() , static_cast<base_type>(0.0) );
- explicit_euler< state_type , base_type , thrust_algebra ,thrust_operations< base_type > > euler;
+ explicit_euler< state_type , base_type , thrust_algebra ,thrust_operations > euler;
         check_stepper_concept( euler , constant_system , x );
 
 


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