[Top][All Lists]
[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:13:49 +0000 |
CVSROOT: /cvsroot/toon
Module name: TooN
Changes by: Gerhard Reitmayr <gerhard> 08/08/16 17:13:49
Modified files:
. : so3.h
Log message:
make accessor const (it returns a copy anyway) - this is what I wanted
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/so3.h?cvsroot=toon&r1=1.21&r2=1.22
Patches:
Index: so3.h
===================================================================
RCS file: /cvsroot/toon/TooN/so3.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- so3.h 16 Aug 2008 17:05:01 -0000 1.21
+++ so3.h 16 Aug 2008 17:13:49 -0000 1.22
@@ -46,8 +46,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 double operator[](int i) const {return my_matrix[i/3][i%3];}
inline SO3 inverse() const;