Don't redefine EIGEN_DEFAULT_IO_FORMAT in main.h.

This commit is contained in:
Rasmus Munk Larsen 2024-05-29 18:14:32 +00:00
parent 9148c47d67
commit f02f89bf2c

View File

@ -221,6 +221,9 @@ class EigenTest {
#define TRACK std::cerr << __FILE__ << " " << __LINE__ << std::endl #define TRACK std::cerr << __FILE__ << " " << __LINE__ << std::endl
// #define TRACK while() // #define TRACK while()
#ifdef EIGEN_DEFAULT_IO_FORMAT
#undef EIGEN_DEFAULT_IO_FORMAT
#endif
#define EIGEN_DEFAULT_IO_FORMAT IOFormat(4, 0, " ", "\n", "", "", "", "") #define EIGEN_DEFAULT_IO_FORMAT IOFormat(4, 0, " ", "\n", "", "", "", "")
#if (defined(_CPPUNWIND) || defined(__EXCEPTIONS)) && !defined(__CUDA_ARCH__) && !defined(__HIP_DEVICE_COMPILE__) && \ #if (defined(_CPPUNWIND) || defined(__EXCEPTIONS)) && !defined(__CUDA_ARCH__) && !defined(__HIP_DEVICE_COMPILE__) && \