|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49595 - sandbox/boost/numeric/bindings/lapack
From: thomas.klimpel_at_[hidden]
Date: 2008-11-04 16:26:37
Author: klimpel
Date: 2008-11-04 16:26:36 EST (Tue, 04 Nov 2008)
New Revision: 49595
URL: http://svn.boost.org/trac/boost/changeset/49595
Log:
code cleanup with respect to usage of traits/detail/utils.hpp
Text files modified:
sandbox/boost/numeric/bindings/lapack/hbev.hpp | 1 -
sandbox/boost/numeric/bindings/lapack/hbevx.hpp | 1 -
sandbox/boost/numeric/bindings/lapack/heevd.hpp | 5 +++--
sandbox/boost/numeric/bindings/lapack/heevx.hpp | 5 +++--
sandbox/boost/numeric/bindings/lapack/hpsv.hpp | 1 -
sandbox/boost/numeric/bindings/lapack/spsv.hpp | 1 -
6 files changed, 6 insertions(+), 8 deletions(-)
Modified: sandbox/boost/numeric/bindings/lapack/hbev.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/hbev.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/hbev.hpp 2008-11-04 16:26:36 EST (Tue, 04 Nov 2008)
@@ -20,7 +20,6 @@
#include <boost/numeric/bindings/lapack/lapack.h>
#include <boost/numeric/bindings/lapack/workspace.hpp>
#include <boost/numeric/bindings/traits/detail/array.hpp>
-#include <boost/numeric/bindings/traits/detail/utils.hpp>
#ifndef BOOST_NUMERIC_BINDINGS_NO_STRUCTURE_CHECK
# include <boost/static_assert.hpp>
Modified: sandbox/boost/numeric/bindings/lapack/hbevx.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/hbevx.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/hbevx.hpp 2008-11-04 16:26:36 EST (Tue, 04 Nov 2008)
@@ -21,7 +21,6 @@
#include <boost/numeric/bindings/lapack/lapack.h>
#include <boost/numeric/bindings/lapack/workspace.hpp>
#include <boost/numeric/bindings/traits/detail/array.hpp>
-#include <boost/numeric/bindings/traits/detail/utils.hpp>
#ifndef BOOST_NUMERIC_BINDINGS_NO_STRUCTURE_CHECK
# include <boost/static_assert.hpp>
Modified: sandbox/boost/numeric/bindings/lapack/heevd.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/heevd.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/heevd.hpp 2008-11-04 16:26:36 EST (Tue, 04 Nov 2008)
@@ -20,6 +20,7 @@
#include <boost/numeric/bindings/lapack/lapack.h>
#include <boost/numeric/bindings/lapack/workspace.hpp>
#include <boost/numeric/bindings/traits/detail/array.hpp>
+#include <boost/numeric/bindings/traits/detail/utils.hpp>
#ifndef BOOST_NUMERIC_BINDINGS_NO_STRUCTURE_CHECK
# include <boost/static_assert.hpp>
@@ -153,7 +154,7 @@
traits::vector_storage (iwork), traits::vector_size (iwork),
info);
- traits::detail::array<T> work( static_cast<int>( workspace_query ) );
+ traits::detail::array<T> work( traits::detail::to_int( workspace_query ) );
heevd( jobz, uplo, n, a, lda, w,
traits::vector_storage (work), traits::vector_size (work),
@@ -214,7 +215,7 @@
traits::vector_storage (iwork), traits::vector_size (iwork),
info);
- traits::detail::array<T> work( static_cast<int>( traits::real( workspace_query ) ) );
+ traits::detail::array<T> work( traits::detail::to_int( workspace_query ) );
heevd( jobz, uplo, n, a, lda, w,
traits::vector_storage (work), traits::vector_size (work),
Modified: sandbox/boost/numeric/bindings/lapack/heevx.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/heevx.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/heevx.hpp 2008-11-04 16:26:36 EST (Tue, 04 Nov 2008)
@@ -20,6 +20,7 @@
#include <boost/numeric/bindings/lapack/lapack.h>
#include <boost/numeric/bindings/lapack/workspace.hpp>
#include <boost/numeric/bindings/traits/detail/array.hpp>
+#include <boost/numeric/bindings/traits/detail/utils.hpp>
#ifndef BOOST_NUMERIC_BINDINGS_NO_STRUCTURE_CHECK
# include <boost/static_assert.hpp>
@@ -176,7 +177,7 @@
traits::vector_storage (iwork),
ifail, info);
- traits::detail::array<T> work( static_cast<int>( workspace_query ) );
+ traits::detail::array<T> work( traits::detail::to_int( workspace_query ) );
heevx( jobz, range, uplo, n, a, lda, vl, vu, il, iu, abstol, m, w, z, ldz,
traits::vector_storage (work), traits::vector_size (work),
@@ -243,7 +244,7 @@
traits::vector_storage (iwork),
ifail, info);
- traits::detail::array<T> work( static_cast<int>( traits::real( workspace_query ) ) );
+ traits::detail::array<T> work( traits::detail::to_int( workspace_query ) );
heevx( jobz, range, uplo, n, a, lda, vl, vu, il, iu, abstol, m, w, z, ldz,
traits::vector_storage (work), traits::vector_size (work),
Modified: sandbox/boost/numeric/bindings/lapack/hpsv.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/hpsv.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/hpsv.hpp 2008-11-04 16:26:36 EST (Tue, 04 Nov 2008)
@@ -18,7 +18,6 @@
#include <boost/numeric/bindings/traits/traits.hpp>
#include <boost/numeric/bindings/lapack/lapack.h>
#include <boost/numeric/bindings/traits/detail/array.hpp>
-#include <boost/numeric/bindings/traits/detail/utils.hpp>
#ifndef BOOST_NUMERIC_BINDINGS_NO_STRUCTURE_CHECK
# include <boost/static_assert.hpp>
Modified: sandbox/boost/numeric/bindings/lapack/spsv.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/spsv.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/spsv.hpp 2008-11-04 16:26:36 EST (Tue, 04 Nov 2008)
@@ -18,7 +18,6 @@
#include <boost/numeric/bindings/traits/traits.hpp>
#include <boost/numeric/bindings/lapack/lapack.h>
#include <boost/numeric/bindings/traits/detail/array.hpp>
-#include <boost/numeric/bindings/traits/detail/utils.hpp>
#ifndef BOOST_NUMERIC_BINDINGS_NO_STRUCTURE_CHECK
# include <boost/static_assert.hpp>
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