toon-members
[Top][All Lists]
Advanced

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

[Toon-members] TooN/internal vector.hh


From: Edward Rosten
Subject: [Toon-members] TooN/internal vector.hh
Date: Fri, 20 Mar 2009 12:24:20 +0000

CVSROOT:        /cvsroot/toon
Module name:    TooN
Changes by:     Edward Rosten <edrosten>        09/03/20 12:24:20

Modified files:
        internal       : vector.hh 

Log message:
        Fix compile error in vector += vector

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

Patches:
Index: vector.hh
===================================================================
RCS file: /cvsroot/toon/TooN/internal/vector.hh,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- vector.hh   10 Mar 2009 15:30:24 -0000      1.22
+++ vector.hh   20 Mar 2009 12:24:19 -0000      1.23
@@ -95,7 +95,7 @@
        Vector& operator+=(const Vector<Size2, Precision2, Base2>& rhs) {
                SizeMismatch<Size,Size2>::test(size(),rhs.size());
                for(int i=0; i<size(); i++)
-                       (*this)[i]+=rhs;
+                       (*this)[i]+=rhs[i];
                return *this;
        }
 




reply via email to

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