Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59029 - in sandbox/numeric_bindings/boost/numeric/bindings/lapack: computational driver
From: rutger_at_[hidden]
Date: 2010-01-15 05:20:16


Author: rutger
Date: 2010-01-15 05:20:15 EST (Fri, 15 Jan 2010)
New Revision: 59029
URL: http://svn.boost.org/trac/boost/changeset/59029

Log:
Removed assertions on output integer values

Text files modified:
   sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/hsein.hpp | 2 --
   sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/tgevc.hpp | 2 --
   sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/tgsna.hpp | 2 --
   sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/trevc.hpp | 2 --
   sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/trsna.hpp | 2 --
   sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/heevr.hpp | 2 --
   sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/stevr.hpp | 2 --
   sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/syevr.hpp | 2 --
   8 files changed, 0 insertions(+), 16 deletions(-)

Modified: sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/hsein.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/hsein.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/hsein.hpp 2010-01-15 05:20:15 EST (Fri, 15 Jan 2010)
@@ -195,7 +195,6 @@
                 bindings::size_column(h)) );
         BOOST_ASSERT( eigsrc == 'Q' || eigsrc == 'N' );
         BOOST_ASSERT( initv == 'N' || initv == 'U' );
- BOOST_ASSERT( mm >= m );
         BOOST_ASSERT( side == 'R' || side == 'L' || side == 'B' );
         return detail::hsein( side, eigsrc, initv,
                 bindings::begin_value(select), bindings::size_column(h),
@@ -323,7 +322,6 @@
                 bindings::size_column(h)) );
         BOOST_ASSERT( eigsrc == 'Q' || eigsrc == 'N' );
         BOOST_ASSERT( initv == 'N' || initv == 'U' );
- BOOST_ASSERT( mm >= m );
         BOOST_ASSERT( side == 'R' || side == 'L' || side == 'B' );
         return detail::hsein( side, eigsrc, initv,
                 bindings::begin_value(select), bindings::size_column(h),

Modified: sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/tgevc.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/tgevc.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/tgevc.hpp 2010-01-15 05:20:15 EST (Fri, 15 Jan 2010)
@@ -180,7 +180,6 @@
         BOOST_ASSERT( bindings::stride_major(s) >= std::max< std::ptrdiff_t >(1,
                 bindings::size_column(s)) );
         BOOST_ASSERT( howmny == 'A' || howmny == 'B' || howmny == 'S' );
- BOOST_ASSERT( mm >= m );
         BOOST_ASSERT( side == 'R' || side == 'L' || side == 'B' );
         return detail::tgevc( side, howmny, bindings::begin_value(select),
                 bindings::size_column(s), bindings::begin_value(s),
@@ -293,7 +292,6 @@
         BOOST_ASSERT( bindings::stride_major(s) >= std::max< std::ptrdiff_t >(1,
                 bindings::size_column(s)) );
         BOOST_ASSERT( howmny == 'A' || howmny == 'B' || howmny == 'S' );
- BOOST_ASSERT( mm >= m );
         BOOST_ASSERT( side == 'R' || side == 'L' || side == 'B' );
         return detail::tgevc( side, howmny, bindings::begin_value(select),
                 bindings::size_column(s), bindings::begin_value(s),

Modified: sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/tgsna.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/tgsna.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/tgsna.hpp 2010-01-15 05:20:15 EST (Fri, 15 Jan 2010)
@@ -198,7 +198,6 @@
                 n) );
         BOOST_ASSERT( howmny == 'A' || howmny == 'S' );
         BOOST_ASSERT( job == 'E' || job == 'V' || job == 'B' );
- BOOST_ASSERT( mm >= m );
         BOOST_ASSERT( n >= 0 );
         return detail::tgsna( job, howmny, bindings::begin_value(select), n,
                 bindings::begin_value(a), bindings::stride_major(a),
@@ -347,7 +346,6 @@
                 n) );
         BOOST_ASSERT( howmny == 'A' || howmny == 'S' );
         BOOST_ASSERT( job == 'E' || job == 'V' || job == 'B' );
- BOOST_ASSERT( mm >= m );
         BOOST_ASSERT( n >= 0 );
         return detail::tgsna( job, howmny, bindings::begin_value(select), n,
                 bindings::begin_value(a), bindings::stride_major(a),

Modified: sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/trevc.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/trevc.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/trevc.hpp 2010-01-15 05:20:15 EST (Fri, 15 Jan 2010)
@@ -169,7 +169,6 @@
         BOOST_ASSERT( bindings::stride_major(t) >= std::max< std::ptrdiff_t >(1,
                 bindings::size_column(t)) );
         BOOST_ASSERT( howmny == 'A' || howmny == 'B' || howmny == 'S' );
- BOOST_ASSERT( mm >= m );
         BOOST_ASSERT( side == 'R' || side == 'L' || side == 'B' );
         return detail::trevc( side, howmny, bindings::begin_value(select),
                 bindings::size_column(t), bindings::begin_value(t),
@@ -273,7 +272,6 @@
         BOOST_ASSERT( bindings::stride_major(t) >= std::max< std::ptrdiff_t >(1,
                 bindings::size_column(t)) );
         BOOST_ASSERT( howmny == 'A' || howmny == 'B' || howmny == 'S' );
- BOOST_ASSERT( mm >= m );
         BOOST_ASSERT( side == 'R' || side == 'L' || side == 'B' );
         return detail::trevc( side, howmny, bindings::begin_value(select),
                 bindings::size_column(t), bindings::begin_value(t),

Modified: sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/trsna.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/trsna.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/trsna.hpp 2010-01-15 05:20:15 EST (Fri, 15 Jan 2010)
@@ -184,7 +184,6 @@
                 bindings::size_column(t)) );
         BOOST_ASSERT( howmny == 'A' || howmny == 'S' );
         BOOST_ASSERT( job == 'E' || job == 'V' || job == 'B' );
- BOOST_ASSERT( mm >= m );
         return detail::trsna( job, howmny, bindings::begin_value(select),
                 bindings::size_column(t), bindings::begin_value(t),
                 bindings::stride_major(t), bindings::begin_value(vl),
@@ -307,7 +306,6 @@
                 bindings::size_column(t)) );
         BOOST_ASSERT( howmny == 'A' || howmny == 'S' );
         BOOST_ASSERT( job == 'E' || job == 'V' || job == 'B' );
- BOOST_ASSERT( mm >= m );
         return detail::trsna( job, howmny, bindings::begin_value(select),
                 bindings::size_column(t), bindings::begin_value(t),
                 bindings::stride_major(t), bindings::begin_value(vl),

Modified: sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/heevr.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/heevr.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/heevr.hpp 2010-01-15 05:20:15 EST (Fri, 15 Jan 2010)
@@ -127,8 +127,6 @@
         BOOST_STATIC_ASSERT( (bindings::is_mutable< VectorW >::value) );
         BOOST_STATIC_ASSERT( (bindings::is_mutable< MatrixZ >::value) );
         BOOST_STATIC_ASSERT( (bindings::is_mutable< VectorISUPPZ >::value) );
- BOOST_ASSERT( bindings::size(isuppz) >= 2*std::max< std::ptrdiff_t >(1,
- m) );
         BOOST_ASSERT( bindings::size(w) >= bindings::size_column(a) );
         BOOST_ASSERT( bindings::size(work.select(fortran_int_t())) >=
                 min_size_iwork( bindings::size_column(a) ));

Modified: sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/stevr.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/stevr.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/stevr.hpp 2010-01-15 05:20:15 EST (Fri, 15 Jan 2010)
@@ -129,8 +129,6 @@
         BOOST_STATIC_ASSERT( (bindings::is_mutable< VectorISUPPZ >::value) );
         BOOST_ASSERT( bindings::size(d) >= n );
         BOOST_ASSERT( bindings::size(e) >= std::max< std::ptrdiff_t >(1,n-1) );
- BOOST_ASSERT( bindings::size(isuppz) >= 2*std::max< std::ptrdiff_t >(1,
- m) );
         BOOST_ASSERT( bindings::size(w) >= n );
         BOOST_ASSERT( bindings::size(work.select(fortran_int_t())) >=
                 min_size_iwork( n ));

Modified: sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/syevr.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/syevr.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/syevr.hpp 2010-01-15 05:20:15 EST (Fri, 15 Jan 2010)
@@ -126,8 +126,6 @@
         BOOST_STATIC_ASSERT( (bindings::is_mutable< VectorW >::value) );
         BOOST_STATIC_ASSERT( (bindings::is_mutable< MatrixZ >::value) );
         BOOST_STATIC_ASSERT( (bindings::is_mutable< VectorISUPPZ >::value) );
- BOOST_ASSERT( bindings::size(isuppz) >= 2*std::max< std::ptrdiff_t >(1,
- m) );
         BOOST_ASSERT( bindings::size(w) >= bindings::size_column(a) );
         BOOST_ASSERT( bindings::size(work.select(fortran_int_t())) >=
                 min_size_iwork( bindings::size_column(a) ));


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk