Update of /cvsroot/boost/boost/boost/numeric/ublas
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21979/boost/numeric/ublas

Modified Files:
        operation.hpp 
Log Message:
FIX use new layout_type::index_Mm operations. Thanks Gunter for spoting this

Index: operation.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/numeric/ublas/operation.hpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- operation.hpp       4 Jul 2005 09:11:45 -0000       1.22
+++ operation.hpp       16 Jul 2006 13:13:01 -0000      1.23
@@ -119,8 +119,8 @@
         }
 
         for (size_type i = 0; i < e1.nnz(); ++i) {
-            size_type row_index = layout_type::element1( e1.index1_data () 
[i], size1, e1.index2_data () [i], size2 );
-            size_type col_index = layout_type::element2( e1.index1_data () 
[i], size1, e1.index2_data () [i], size2 );
+            size_type row_index = layout_type::index_M( e1.index1_data () [i], 
e1.index2_data () [i] );
+            size_type col_index = layout_type::index_m( e1.index1_data () [i], 
e1.index2_data () [i] );
             v( row_index ) += e1.value_data () [i] * e2 () (col_index);
         }
         return v;



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to