[Rivet-svn] r3648 - trunk/include/Rivet/Math/eigen

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Mar 23 12:53:15 GMT 2012


Author: dgrell
Date: Fri Mar 23 12:53:15 2012
New Revision: 3648

Log:
gcc-4.7 fixes

Modified:
   trunk/include/Rivet/Math/eigen/ludecomposition.h
   trunk/include/Rivet/Math/eigen/matrix.h
   trunk/include/Rivet/Math/eigen/vector.h

Modified: trunk/include/Rivet/Math/eigen/ludecomposition.h
==============================================================================
--- trunk/include/Rivet/Math/eigen/ludecomposition.h	Thu Mar 22 20:35:24 2012	(r3647)
+++ trunk/include/Rivet/Math/eigen/ludecomposition.h	Fri Mar 23 12:53:15 2012	(r3648)
@@ -85,7 +85,7 @@
 public:
 
     /** Performs the LU Decomposition of mat. Use this constructor. */
-    LUDecomposition( const Matrix<T, Size> & mat ) { perform( mat ); }
+    LUDecomposition( const Matrix<T, Size> & mat ) { this->perform( mat ); }
 
 protected:
     /** Default constructor. Does nothing. \internal
@@ -128,7 +128,7 @@
 
 public:
     /** Performs the LU Decomposition of mat. Use this constructor. */
-    LUDecompositionX( const MatrixX<T> & mat ) { perform( mat ); }
+    LUDecompositionX( const MatrixX<T> & mat ) { this->perform( mat ); }
 
 protected:
     /** Default constructor. Does nothing. \internal

Modified: trunk/include/Rivet/Math/eigen/matrix.h
==============================================================================
--- trunk/include/Rivet/Math/eigen/matrix.h	Thu Mar 22 20:35:24 2012	(r3647)
+++ trunk/include/Rivet/Math/eigen/matrix.h	Fri Mar 23 12:53:15 2012	(r3648)
@@ -170,7 +170,7 @@
       */
     Matrix( const Matrix & other )
     {
-        readArray( other.array() );
+        this->readArray( other.array() );
     }
 
     /**
@@ -179,7 +179,7 @@
       */
     Matrix( const T * array )
     {
-        readArray( array );
+        this->readArray( array );
     }
 
     /**
@@ -322,7 +322,7 @@
     MatrixX( const MatrixX & other )
     {
         init( other.size() );
-        readArray( other.array() );
+        this->readArray( other.array() );
     }
 
     /**
@@ -336,7 +336,7 @@
     MatrixX( int size, const T * array )
     {
         init( size );
-        readArray( array );
+        this->readArray( array );
     }
 
     /**

Modified: trunk/include/Rivet/Math/eigen/vector.h
==============================================================================
--- trunk/include/Rivet/Math/eigen/vector.h	Thu Mar 22 20:35:24 2012	(r3647)
+++ trunk/include/Rivet/Math/eigen/vector.h	Fri Mar 23 12:53:15 2012	(r3648)
@@ -141,7 +141,7 @@
       */
     Vector( const Vector &v )
     {
-        readArray( v.array() );
+        this->readArray( v.array() );
     }
 
     /**
@@ -149,7 +149,7 @@
       */
     Vector( const T *array )
     {
-        readArray( array );
+        this->readArray( array );
     }
 
     /**
@@ -160,7 +160,7 @@
     Vector( int unused_size, const T *array )
     {
         assert( unused_size == this->size() );
-        readArray( array );
+        this->readArray( array );
     }
 
     /**
@@ -312,7 +312,7 @@
     VectorX( const VectorX & other )
     {
         init( other._size() );
-        readArray( other.array() );
+        this->readArray( other.array() );
     }
 
     /**
@@ -328,7 +328,7 @@
     VectorX( int size, const T * array )
     {
         init( size );
-        readArray( array );
+        this->readArray( array );
     }
 
     ~VectorX()


More information about the Rivet-svn mailing list