toon-members
[Top][All Lists]
Advanced

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

[Toon-members] TooN/internal operators.hh


From: Gerhard Reitmayr
Subject: [Toon-members] TooN/internal operators.hh
Date: Thu, 26 Mar 2009 10:36:19 +0000

CVSROOT:        /cvsroot/toon
Module name:    TooN
Changes by:     Gerhard Reitmayr <gerhard>      09/03/26 10:36:19

Modified files:
        internal       : operators.hh 

Log message:
        vector * matrix works now

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/internal/operators.hh?cvsroot=toon&r1=1.22&r2=1.23

Patches:
Index: operators.hh
===================================================================
RCS file: /cvsroot/toon/TooN/internal/operators.hh,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- operators.hh        25 Mar 2009 19:46:10 -0000      1.22
+++ operators.hh        26 Mar 2009 10:36:17 -0000      1.23
@@ -103,7 +103,7 @@
                static void eval(Vector<Sout, Pout, Bout>& res, const 
Vector<Size, P2, B2>& v, const Matrix<R, C, P1, B1>& m)
                {
                        for(int i=0; i < res.size(); ++i){
-                               res[i] = v * m[i];
+                               res[i] = v * m.T()[i];
                        }
                }
        };




reply via email to

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