gentoo/dev-cpp/eigen/files/eigen-3.3.9-max-macro.patch
David Seifert 9f6c2af0a6
dev-cpp/eigen: Version bump to 3.3.9
Bug: https://bugs.gentoo.org/712808
Bug: https://bugs.gentoo.org/754327
Closes: https://bugs.gentoo.org/759961
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: David Seifert <soap@gentoo.org>
2020-12-14 22:04:14 +01:00

18 lines
476 B
Diff

--- a/unsupported/test/forward_adolc.cpp
+++ b/unsupported/test/forward_adolc.cpp
@@ -7,12 +7,13 @@
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#include "main.h"
#include <Eigen/Dense>
#define NUMBER_DIRECTIONS 16
#include <unsupported/Eigen/AdolcForward>
+#include "main.h"
+
template<typename Vector>
EIGEN_DONT_INLINE typename Vector::Scalar foo(const Vector& p)
{