From a4b6dbd5421fee84f6e921eb5bfefaa04b2a338e Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Mon, 20 Sep 2004 08:15:53 +0000 Subject: [PATCH] use size_type [SVN r25261] --- .../boost/numeric/ublas/operation_blocked.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/include/boost/numeric/ublas/operation_blocked.hpp b/include/boost/numeric/ublas/operation_blocked.hpp index 8698fea9..668ff62d 100644 --- a/include/boost/numeric/ublas/operation_blocked.hpp +++ b/include/boost/numeric/ublas/operation_blocked.hpp @@ -19,17 +19,17 @@ namespace boost { namespace numeric { namespace ublas { - template + template BOOST_UBLAS_INLINE V block_prod (const matrix_expression &e1, const vector_expression &e2) { typedef V vector_type; - const std::size_t block_size = BS; typedef const E1 expression1_type; typedef const E2 expression2_type; typedef typename V::size_type size_type; typedef typename V::value_type value_type; + const size_type block_size = BS; V v (e1 ().size1 ()); #if BOOST_UBLAS_TYPE_CHECK @@ -74,17 +74,17 @@ namespace boost { namespace numeric { namespace ublas { return v; } - template + template BOOST_UBLAS_INLINE V block_prod (const vector_expression &e1, const matrix_expression &e2) { typedef V vector_type; - const std::size_t block_size = BS; typedef const E1 expression1_type; typedef const E2 expression2_type; typedef typename V::size_type size_type; typedef typename V::value_type value_type; + const size_type block_size = BS; V v (e2 ().size2 ()); #if BOOST_UBLAS_TYPE_CHECK @@ -128,18 +128,18 @@ namespace boost { namespace numeric { namespace ublas { return v; } - template + template BOOST_UBLAS_INLINE M block_prod (const matrix_expression &e1, const matrix_expression &e2, row_major_tag) { typedef M matrix_type; - const std::size_t block_size = BS; typedef const E1 expression1_type; typedef const E2 expression2_type; typedef typename M::size_type size_type; typedef typename M::value_type value_type; + const size_type block_size = BS; M m (e1 ().size1 (), e2 ().size2 ()); #if BOOST_UBLAS_TYPE_CHECK @@ -189,18 +189,18 @@ namespace boost { namespace numeric { namespace ublas { return m; } - template + template BOOST_UBLAS_INLINE M block_prod (const matrix_expression &e1, const matrix_expression &e2, column_major_tag) { typedef M matrix_type; - const std::size_t block_size = BS; typedef const E1 expression1_type; typedef const E2 expression2_type; typedef typename M::size_type size_type; typedef typename M::value_type value_type; + const size_type block_size = BS; M m (e1 ().size1 (), e2 ().size2 ()); #if BOOST_UBLAS_TYPE_CHECK @@ -251,7 +251,7 @@ namespace boost { namespace numeric { namespace ublas { } // Dispatcher - template + template BOOST_UBLAS_INLINE M block_prod (const matrix_expression &e1,