From 3b331a456aa7bf53ca98944cbcfff787b3d3ddc3 Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Mon, 20 Sep 2004 14:57:06 +0000 Subject: [PATCH] index_X_array use size_type [SVN r25281] --- include/boost/numeric/ublas/storage.hpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/include/boost/numeric/ublas/storage.hpp b/include/boost/numeric/ublas/storage.hpp index 02315162..cb9a2bec 100644 --- a/include/boost/numeric/ublas/storage.hpp +++ b/include/boost/numeric/ublas/storage.hpp @@ -1661,8 +1661,8 @@ namespace boost { namespace numeric { namespace ublas { typedef typename V1::value_type value1_type; typedef typename V2::value_type value2_type; - typedef std::size_t size_type; - typedef std::ptrdiff_t difference_type; + typedef V1::size_type size_type; + typedef V1::difference_type difference_type; typedef index_pair value_type; // There is nothing that can be referenced directly. Always return a copy of the index_pair typedef value_type reference; @@ -1847,8 +1847,8 @@ namespace boost { namespace numeric { namespace ublas { typedef typename V2::value_type value2_type; typedef typename V3::value_type value3_type; - typedef std::size_t size_type; - typedef std::ptrdiff_t difference_type; + typedef V1::size_type size_type; + typedef V1::difference_type difference_type; typedef index_triple value_type; // There is nothing that can be referenced directly. Always return a copy of the index_triple typedef value_type reference; @@ -1927,6 +1927,3 @@ namespace boost { namespace numeric { namespace ublas { }}} #endif - - -