fix my previous commit with EIGEN_EMPTY macro bug

This commit is contained in:
Gael Guennebaud
2009-01-27 19:08:20 +00:00
parent 9b06e072a5
commit 4ac8cabf8a
3 changed files with 14 additions and 10 deletions

View File

@@ -44,8 +44,7 @@ namespace Eigen
#define EI_PP_MAKE_STRING2(S) #S
#define EI_PP_MAKE_STRING(S) EI_PP_MAKE_STRING2(S)
#define EI_PP_CAT2(a,b) a ## b
#define EI_PP_CAT(a,b) EI_PP_CAT2(a,b)
#ifndef EIGEN_NO_ASSERTION_CHECKING
@@ -236,7 +235,7 @@ template<typename T> struct GetDifferentType<std::complex<T> >
{ typedef std::complex<typename GetDifferentType<T>::type> type; };
// forward declaration of the main test function
void EI_PP_CAT(test_,EIGEN_TEST_FUNC)();
void EIGEN_CAT(test_,EIGEN_TEST_FUNC)();
using namespace Eigen;
@@ -305,7 +304,7 @@ int main(int argc, char *argv[])
Eigen::g_repeat = repeat;
Eigen::g_test_stack.push_back(EI_PP_MAKE_STRING(EIGEN_TEST_FUNC));
EI_PP_CAT(test_,EIGEN_TEST_FUNC)();
EIGEN_CAT(test_,EIGEN_TEST_FUNC)();
return 0;
}