2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-24 04:22:12 +00:00

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
This commit is contained in:
Gunter Winkler
2009-10-05 21:57:02 +00:00
parent b0ebadf621
commit 97004e9b3d

View File

@@ -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);