From 5604817be085dbd94b9aab2aaa39d30cbfc93d75 Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Fri, 16 Jul 2004 08:39:58 +0000 Subject: [PATCH] typedef size_type for triangular_matrix [SVN r23615] --- include/boost/numeric/ublas/banded.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/boost/numeric/ublas/banded.hpp b/include/boost/numeric/ublas/banded.hpp index 3d84a3ed..38855488 100644 --- a/include/boost/numeric/ublas/banded.hpp +++ b/include/boost/numeric/ublas/banded.hpp @@ -1016,6 +1016,7 @@ namespace boost { namespace numeric { namespace ublas { #ifndef BOOST_UBLAS_NO_DERIVED_HELPERS BOOST_UBLAS_USING banded_matrix::operator =; #endif + typedef std::size_t size_type; typedef banded_matrix matrix_type; // Construction and destruction @@ -1023,10 +1024,10 @@ namespace boost { namespace numeric { namespace ublas { diagonal_matrix (): matrix_type () {} BOOST_UBLAS_INLINE - diagonal_matrix (std::size_t size): + diagonal_matrix (size_type size): matrix_type (size, size) {} BOOST_UBLAS_INLINE - diagonal_matrix (std::size_t size1, std::size_t size2): + diagonal_matrix (size_type size1, size_type size2): matrix_type (size1, size2) {} template BOOST_UBLAS_INLINE