[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Toon-members] TooN linoperators.hh
From: |
Gerhard Reitmayr |
Subject: |
[Toon-members] TooN linoperators.hh |
Date: |
Wed, 20 Jun 2007 18:42:14 +0000 |
CVSROOT: /cvsroot/toon
Module name: TooN
Changes by: Gerhard Reitmayr <gerhard> 07/06/20 18:42:14
Modified files:
. : linoperators.hh
Log message:
removed dynamic vector temporary where fixed is possible
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/linoperators.hh?cvsroot=toon&r1=1.15&r2=1.16
Patches:
Index: linoperators.hh
===================================================================
RCS file: /cvsroot/toon/TooN/linoperators.hh,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- linoperators.hh 14 Jun 2007 03:19:00 -0000 1.15
+++ linoperators.hh 20 Jun 2007 18:42:13 -0000 1.16
@@ -576,11 +576,11 @@
};
template <int Rows, int Cols, class MAccessor, class VAccessor>
-inline Vector<> operator*(const FixedMatrix<Rows,Cols,MAccessor>& lhs,
+inline Vector<Rows> operator*(const FixedMatrix<Rows,Cols,MAccessor>& lhs,
const DynamicVector<VAccessor>& rhs){
assert(rhs.size() == Cols);
- return Vector<>(lhs,rhs,
- Operator<DynamicMVMult<
+ return Vector<Rows>(lhs,rhs,
+ Operator<FixedMVMult<Rows, Cols,
FixedMatrix<Rows,Cols,MAccessor>,
DynamicVector<VAccessor> > >());