From 31ab395e3b78d735d96a5e6d49907c29bc32acf2 Mon Sep 17 00:00:00 2001 From: Kyle Lutz Date: Wed, 29 May 2013 22:16:03 -0400 Subject: [PATCH] fix bug/typo in thrust_algebra --- boost/numeric/odeint/external/thrust/thrust_algebra.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boost/numeric/odeint/external/thrust/thrust_algebra.hpp b/boost/numeric/odeint/external/thrust/thrust_algebra.hpp index 7eab72b7..05e6a92e 100644 --- a/boost/numeric/odeint/external/thrust/thrust_algebra.hpp +++ b/boost/numeric/odeint/external/thrust/thrust_algebra.hpp @@ -63,7 +63,7 @@ struct thrust_algebra template< class StateType , class Operation > static void for_each1( StateType &s , Operation op ) { - thrust::for_each( boost::begin(s) , boost::begin(s) , op ); + thrust::for_each( boost::begin(s) , boost::end(s) , op ); } template< class StateType1 , class StateType2 , class Operation >