Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63401 - sandbox/numeric_bindings/boost/numeric/bindings
From: thomas.klimpel_at_[hidden]
Date: 2010-06-27 18:09:26


Author: klimpel
Date: 2010-06-27 18:09:25 EDT (Sun, 27 Jun 2010)
New Revision: 63401
URL: http://svn.boost.org/trac/boost/changeset/63401

Log:
hopefully fixed a bug...
Text files modified:
   sandbox/numeric_bindings/boost/numeric/bindings/bandwidth.hpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: sandbox/numeric_bindings/boost/numeric/bindings/bandwidth.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/bandwidth.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/bandwidth.hpp 2010-06-27 18:09:25 EDT (Sun, 27 Jun 2010)
@@ -133,7 +133,7 @@
 namespace result_of {
 
 template< typename T, typename TransTag >
-struct bandwidth_upper_op {
+struct bandwidth_lower_op {
     typedef typename bandwidth<
         T,
         typename addressing_index_trans< tag::addressing_index<1>, TransTag >::type
@@ -141,7 +141,7 @@
 };
 
 template< typename T, typename TransTag >
-struct bandwidth_lower_op {
+struct bandwidth_upper_op {
     typedef typename bandwidth< T,
         typename addressing_index_trans< tag::addressing_index<2>, TransTag >::type >::type type;
 };
@@ -150,13 +150,13 @@
 
 template< typename T, typename Tag >
 inline typename result_of::bandwidth_upper_op< const T, Tag >::type
-bandwidth_upper_op( const T& t, Tag ) {
+bandwidth_lower_op( const T& t, Tag ) {
     return bindings::bandwidth( t, typename addressing_index_trans< tag::addressing_index<1>, Tag >::type() );
 }
 
 template< typename T, typename Tag >
 inline typename result_of::bandwidth_upper_op< const T, Tag >::type
-bandwidth_lower_op( const T& t, Tag ) {
+bandwidth_upper_op( const T& t, Tag ) {
     return bindings::bandwidth( t, typename addressing_index_trans< tag::addressing_index<2>, Tag >::type() );
 }
 


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