|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r59024 - sandbox/numeric_bindings/boost/numeric/bindings/ublas
From: rutger_at_[hidden]
Date: 2010-01-15 03:46:28
Author: rutger
Date: 2010-01-15 03:46:28 EST (Fri, 15 Jan 2010)
New Revision: 59024
URL: http://svn.boost.org/trac/boost/changeset/59024
Log:
small bugfix of ublas matrix_column stuff.
Text files modified:
sandbox/numeric_bindings/boost/numeric/bindings/ublas/matrix_proxy.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox/numeric_bindings/boost/numeric/bindings/ublas/matrix_proxy.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/ublas/matrix_proxy.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/ublas/matrix_proxy.hpp 2010-01-15 03:46:28 EST (Fri, 15 Jan 2010)
@@ -78,7 +78,7 @@
> property_map;
static std::ptrdiff_t size1( const Id& id ) {
- return bindings::size1( id.data() );
+ return id.size();
}
static value_type* begin_value( Id& id ) {
@@ -88,7 +88,7 @@
static value_type* end_value( Id& id ) {
return bindings::begin_value( id.data() ) +
- offset( id.data(), id.size1(), id.index() );
+ offset( id.data(), size1(id), id.index() );
}
static std::ptrdiff_t stride1( const Id& id ) {
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