toon-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Toon-members] TooN linoperators.hh


From: Georg Klein
Subject: [Toon-members] TooN linoperators.hh
Date: Tue, 20 Mar 2007 18:57:23 +0000

CVSROOT:        /cvsroot/toon
Module name:    TooN
Changes by:     Georg Klein <georgklein>        07/03/20 18:57:23

Modified files:
        .              : linoperators.hh 

Log message:
        Ahem

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/linoperators.hh?cvsroot=toon&r1=1.13&r2=1.14

Patches:
Index: linoperators.hh
===================================================================
RCS file: /cvsroot/toon/TooN/linoperators.hh,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- linoperators.hh     15 Jan 2007 18:41:55 -0000      1.13
+++ linoperators.hh     20 Mar 2007 18:57:23 -0000      1.14
@@ -759,7 +759,7 @@
 template <class MAccessor1, class MAccessor2> inline
 DynamicMatrix<MAccessor1>& operator += ( DynamicMatrix<MAccessor1>& lhs,
                                         const DynamicMatrix<MAccessor2>& rhs){
-  assert(lhs.num_rows() == rhs.num_cols() && lhs.num_cols() == rhs.num_cols());
+  assert(lhs.num_rows() == rhs.num_rows() && lhs.num_cols() == rhs.num_cols());
   for(int r=0; r<lhs.num_rows(); r++){
       lhs[r] += rhs[r];
   }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]