Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59040 - sandbox/numeric_bindings/libs/numeric/bindings/atlas
From: rutger_at_[hidden]
Date: 2010-01-15 09:05:30


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

Log:
updated utils.h in atlas regression

Text files modified:
   sandbox/numeric_bindings/libs/numeric/bindings/atlas/utils.h | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/numeric_bindings/libs/numeric/bindings/atlas/utils.h
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/atlas/utils.h (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/atlas/utils.h 2010-01-15 09:05:28 EST (Fri, 15 Jan 2010)
@@ -122,8 +122,7 @@
 // element access:
 template <typename M>
 struct matr_access_traits {
- typedef typename
- M::reference ref_t;
+ typedef typename bindings::value<M>::type& ref_t;
   //bindings::value<M>::type val_t;
   //typedef val_t& ref_t;
   static ref_t elem (M& m, size_t i, size_t j) { return m (i, j); }
@@ -214,6 +213,7 @@
   size_t sz2 = bindings::size2 (m);
   for (std::size_t i = 0 ; i < sz1 ; ++i) {
     for (std::size_t j = 0 ; j < sz2 ; ++j) {
+ std::cout << i << " " << j << " " << std::endl;
 #ifndef BOOST_NUMERIC_BINDINGS_POOR_MANS_TRAITS
       std::cout << elem_m (m, i, j) << " ";
 #else


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