|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r58741 - sandbox/numeric_bindings/libs/numeric/bindings/lapack/test
From: rutger_at_[hidden]
Date: 2010-01-06 02:43:43
Author: rutger
Date: 2010-01-06 02:43:42 EST (Wed, 06 Jan 2010)
New Revision: 58741
URL: http://svn.boost.org/trac/boost/changeset/58741
Log:
heev regression test is compiling
Text files modified:
sandbox/numeric_bindings/libs/numeric/bindings/lapack/test/ublas_heev.cpp | 7 +++++--
sandbox/numeric_bindings/libs/numeric/bindings/lapack/test/utils.h | 6 ++----
2 files changed, 7 insertions(+), 6 deletions(-)
Modified: sandbox/numeric_bindings/libs/numeric/bindings/lapack/test/ublas_heev.cpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/lapack/test/ublas_heev.cpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/lapack/test/ublas_heev.cpp 2010-01-06 02:43:42 EST (Wed, 06 Jan 2010)
@@ -10,10 +10,12 @@
#include <boost/numeric/bindings/lapack/driver/heev.hpp>
#include <boost/numeric/bindings/ublas/matrix.hpp>
+#include <boost/numeric/bindings/ublas/matrix_proxy.hpp>
+#include <boost/numeric/bindings/ublas/matrix_expression.hpp>
#include <boost/numeric/bindings/ublas/vector.hpp>
+#include <boost/numeric/bindings/ublas/vector_expression.hpp>
+#include <boost/numeric/bindings/ublas/vector_proxy.hpp>
#include <boost/numeric/bindings/ublas/hermitian.hpp>
-#include <boost/numeric/ublas/matrix_proxy.hpp>
-#include <boost/numeric/ublas/vector_proxy.hpp>
#include <boost/numeric/ublas/io.hpp>
#include <iostream>
@@ -21,6 +23,7 @@
namespace ublas = boost::numeric::ublas;
namespace lapack = boost::numeric::bindings::lapack;
+namespace bindings = boost::numeric::bindings;
template <typename T, typename W, typename UPLO>
Modified: sandbox/numeric_bindings/libs/numeric/bindings/lapack/test/utils.h
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/lapack/test/utils.h (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/lapack/test/utils.h 2010-01-06 02:43:42 EST (Wed, 06 Jan 2010)
@@ -187,10 +187,8 @@
if (ch)
std::cout << ch << " data:\n";
using namespace boost::numeric::bindings;
- for( typename result_of::begin_value< const M >::type st = begin_value( m );
- st != end_value( m ); ++st ) {
- std::cout << *st << " ";
- }
+ std::copy( begin_value( m ), end_value( m ), std::ostream_iterator
+ < typename value< const M >::type >( std::cout, " " ) );
std::cout << std::endl;
}
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