toon-members
[Top][All Lists]
Advanced

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

[Toon-members] TooN so3.h


From: Edward Rosten
Subject: [Toon-members] TooN so3.h
Date: Tue, 15 May 2007 22:10:55 +0000

CVSROOT:        /cvsroot/toon
Module name:    TooN
Changes by:     Edward Rosten <edrosten>        07/05/15 22:10:55

Modified files:
        .              : so3.h 

Log message:
        Efficiency improvement.

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

Patches:
Index: so3.h
===================================================================
RCS file: /cvsroot/toon/TooN/so3.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- so3.h       15 May 2007 16:50:01 -0000      1.17
+++ so3.h       15 May 2007 22:10:55 -0000      1.18
@@ -152,7 +152,7 @@
 
 inline SO3 SO3::exp(const double* vect)
 {
-  return SO3::exp(Vector<3>(vect));
+  return SO3::exp(*reinterpret_cast<const Vector<3>*>(vect));
 }
 
 template <class Accessor> inline SO3 SO3::exp(const FixedVector<3,Accessor>& 
vect){




reply via email to

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