mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
the min/max macros to detect unprotected min/max were undefined by some std header,
so let's declare them after and do the respective fixes ;)
This commit is contained in:
@@ -242,7 +242,7 @@ void bug_159()
|
||||
|
||||
void test_triangular()
|
||||
{
|
||||
int maxsize = std::min(EIGEN_TEST_MAX_SIZE,20);
|
||||
int maxsize = (std::min)(EIGEN_TEST_MAX_SIZE,20);
|
||||
for(int i = 0; i < g_repeat ; i++)
|
||||
{
|
||||
int r = internal::random<int>(2,maxsize); EIGEN_UNUSED_VARIABLE(r);
|
||||
|
||||
Reference in New Issue
Block a user