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 struct GetDifferentType > { typedef std::complex::type> type; }; template static std::string type_name() { return "other"; } -template<> static std::string type_name() { return "float"; } -template<> static std::string type_name() { return "double"; } -template<> static std::string type_name() { return "int"; } -template<> static std::string type_name >() { return "complex"; } -template<> static std::string type_name >() { return "complex"; } -template<> static std::string type_name >() { return "complex"; } +template<> std::string type_name() { return "float"; } +template<> std::string type_name() { return "double"; } +template<> std::string type_name() { return "int"; } +template<> std::string type_name >() { return "complex"; } +template<> std::string type_name >() { return "complex"; } +template<> std::string type_name >() { return "complex"; } // forward declaration of the main test function void EIGEN_CAT(test_,EIGEN_TEST_FUNC)();