diff options
-rw-r--r-- | test/main.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/main.h b/test/main.h index b3ed96000..6db976073 100644 --- a/test/main.h +++ b/test/main.h @@ -378,12 +378,12 @@ template<typename T> struct GetDifferentType<std::complex<T> > { typedef std::complex<typename GetDifferentType<T>::type> type; }; template<typename T> static std::string type_name() { return "other"; } -template<> static std::string type_name<float>() { return "float"; } -template<> static std::string type_name<double>() { return "double"; } -template<> static std::string type_name<int>() { return "int"; } -template<> static std::string type_name<std::complex<float> >() { return "complex<float>"; } -template<> static std::string type_name<std::complex<double> >() { return "complex<double>"; } -template<> static std::string type_name<std::complex<int> >() { return "complex<int>"; } +template<> std::string type_name<float>() { return "float"; } +template<> std::string type_name<double>() { return "double"; } +template<> std::string type_name<int>() { return "int"; } +template<> std::string type_name<std::complex<float> >() { return "complex<float>"; } +template<> std::string type_name<std::complex<double> >() { return "complex<double>"; } +template<> std::string type_name<std::complex<int> >() { return "complex<int>"; } // forward declaration of the main test function void EIGEN_CAT(test_,EIGEN_TEST_FUNC)(); |