From 97004e9b3d473f858eaf32fa81020afbe62af41b Mon Sep 17 00:00:00 2001 From: Gunter Winkler Date: Mon, 5 Oct 2009 21:57:02 +0000 Subject: [PATCH] see #2872: boost/numeric/ublas/lu.hpp does not compile with GCC 4.3.2 64bit (Incomplete) * changed type of '''singular''' to '''size_type''' as suggested --- include/boost/numeric/ublas/lu.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/numeric/ublas/lu.hpp b/include/boost/numeric/ublas/lu.hpp index a24037b8..a1b56658 100644 --- a/include/boost/numeric/ublas/lu.hpp +++ b/include/boost/numeric/ublas/lu.hpp @@ -95,7 +95,7 @@ namespace boost { namespace numeric { namespace ublas { #if BOOST_UBLAS_TYPE_CHECK matrix_type cm (m); #endif - int singular = 0; + size_type singular = 0; size_type size1 = m.size1 (); size_type size2 = m.size2 (); size_type size = (std::min) (size1, size2); @@ -131,7 +131,7 @@ namespace boost { namespace numeric { namespace ublas { #if BOOST_UBLAS_TYPE_CHECK matrix_type cm (m); #endif - int singular = 0; + size_type singular = 0; size_type size1 = m.size1 (); size_type size2 = m.size2 (); size_type size = (std::min) (size1, size2); @@ -175,7 +175,7 @@ namespace boost { namespace numeric { namespace ublas { #if BOOST_UBLAS_TYPE_CHECK matrix_type cm (m); #endif - int singular = 0; + size_type singular = 0; size_type size1 = m.size1 (); size_type size2 = m.size2 (); size_type size = (std::min) (size1, size2);