eigen3/eigen3-fix-forward_adolc-unit-test.patch

19 lines
621 B
Diff

Index: eigen-3.3.8/unsupported/test/forward_adolc.cpp
===================================================================
--- eigen-3.3.8.orig/unsupported/test/forward_adolc.cpp
+++ eigen-3.3.8/unsupported/test/forward_adolc.cpp
@@ -7,12 +7,12 @@
// 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)
{