toon-members
[Top][All Lists]
Advanced

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

[Toon-members] TooN so3.h


From: Gerhard Reitmayr
Subject: [Toon-members] TooN so3.h
Date: Sat, 16 Aug 2008 17:05:02 +0000

CVSROOT:        /cvsroot/toon
Module name:    TooN
Changes by:     Gerhard Reitmayr <gerhard>      08/08/16 17:05:02

Modified files:
        .              : so3.h 

Log message:
        make accessor const (it returns a copy anyway)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/so3.h?cvsroot=toon&r1=1.20&r2=1.21

Patches:
Index: so3.h
===================================================================
RCS file: /cvsroot/toon/TooN/so3.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- so3.h       22 Jul 2007 02:02:17 -0000      1.20
+++ so3.h       16 Aug 2008 17:05:01 -0000      1.21
@@ -47,6 +47,7 @@
   inline Vector<3> ln() const;
 
   inline double operator[](int i){return my_matrix[i/3][i%3];}
+  inline const double operator[](int i) const {return my_matrix[i/3][i%3];}
 
   inline SO3 inverse() const;
 




reply via email to

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