Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59202 - sandbox/numeric_bindings/boost/numeric/bindings/mtl
From: rutger_at_[hidden]
Date: 2010-01-21 15:01:56


Author: rutger
Date: 2010-01-21 15:01:56 EST (Thu, 21 Jan 2010)
New Revision: 59202
URL: http://svn.boost.org/trac/boost/changeset/59202

Log:
fixed col/row mixup in mtl binding

Text files modified:
   sandbox/numeric_bindings/boost/numeric/bindings/mtl/dense2D.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/numeric_bindings/boost/numeric/bindings/mtl/dense2D.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/mtl/dense2D.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/mtl/dense2D.hpp 2010-01-21 15:01:56 EST (Thu, 21 Jan 2010)
@@ -26,12 +26,12 @@
 
 template< std::size_t Rows, std::size_t Cols >
 struct mtl_matrix_size_type< mtl::fixed::dimensions< Rows, Cols >, 1 > {
- typedef mpl::int_< Cols > type;
+ typedef mpl::int_< Rows > type;
 };
 
 template< std::size_t Rows, std::size_t Cols >
 struct mtl_matrix_size_type< mtl::fixed::dimensions< Rows, Cols >, 2 > {
- typedef mpl::int_< Rows > type;
+ typedef mpl::int_< Cols > type;
 };
 
 template< typename T, typename Parameters, typename Id, typename Enable >


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