From dd61d4e5be0c7472a397683477b0d5220cfcc95b Mon Sep 17 00:00:00 2001 From: Gunter Winkler Date: Fri, 16 Mar 2007 22:31:46 +0000 Subject: [PATCH] - replaced row_major/column_major in compressed-axpy_prod now they work with uncommon size_types and may be abused to compute y += A^T x [SVN r37208] --- include/boost/numeric/ublas/operation.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/numeric/ublas/operation.hpp b/include/boost/numeric/ublas/operation.hpp index ec30a3f6..3e661ad8 100644 --- a/include/boost/numeric/ublas/operation.hpp +++ b/include/boost/numeric/ublas/operation.hpp @@ -29,10 +29,10 @@ namespace boost { namespace numeric { namespace ublas { - template + template BOOST_UBLAS_INLINE V & - axpy_prod (const compressed_matrix &e1, + axpy_prod (const compressed_matrix &e1, const vector_expression &e2, V &v, row_major_tag) { typedef typename V::size_type size_type; @@ -49,10 +49,10 @@ namespace boost { namespace numeric { namespace ublas { return v; } - template + template BOOST_UBLAS_INLINE V & - axpy_prod (const compressed_matrix &e1, + axpy_prod (const compressed_matrix &e1, const vector_expression &e2, V &v, column_major_tag) { typedef typename V::size_type size_type;