From 7e4bc9f01cd267dafdbeaef7f469f8218dcb557b Mon Sep 17 00:00:00 2001 From: Johann Dreo Date: Tue, 2 Oct 2012 17:26:50 +0200 Subject: [PATCH] bugfix: remove typename in some typedef in EDO tests under Eigen3 --- edo/test/t-edoEstimatorNormalMulti.cpp | 4 ++-- edo/test/t-mean-distance.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/edo/test/t-edoEstimatorNormalMulti.cpp b/edo/test/t-edoEstimatorNormalMulti.cpp index 5c47f5cf5..6483a1062 100644 --- a/edo/test/t-edoEstimatorNormalMulti.cpp +++ b/edo/test/t-edoEstimatorNormalMulti.cpp @@ -48,8 +48,8 @@ typedef EOT::AtomType AtomType; #else #ifdef WITH_EIGEN #include - typedef typename edoNormalMulti::Vector Vector; - typedef typename edoNormalMulti::Matrix Matrix; + typedef edoNormalMulti::Vector Vector; + typedef edoNormalMulti::Matrix Matrix; #endif #endif diff --git a/edo/test/t-mean-distance.cpp b/edo/test/t-mean-distance.cpp index 4e184f5a8..59b1c8aa5 100644 --- a/edo/test/t-mean-distance.cpp +++ b/edo/test/t-mean-distance.cpp @@ -43,7 +43,7 @@ Authors: typedef eoReal< eoMinimizingFitness > EOT; typedef edoNormalMulti< EOT > Distrib; -typedef typename EOT::AtomType AtomType; +typedef EOT::AtomType AtomType; #ifdef WITH_BOOST #include @@ -53,8 +53,8 @@ typedef typename EOT::AtomType AtomType; #else #ifdef WITH_EIGEN #include - typedef typename edoNormalMulti::Vector Vector; - typedef typename edoNormalMulti::Matrix Matrix; + typedef edoNormalMulti::Vector Vector; + typedef edoNormalMulti::Matrix Matrix; #endif #endif