From 02429529546980542d3a879aed4349cac9c1c281 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Sol=C3=A0?= <jsola@iri.upc.edu>
Date: Sat, 18 Apr 2020 22:58:31 +0200
Subject: [PATCH] Remove not-compiling static code

---
 test/gtest_factor_autodiff.cpp | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/test/gtest_factor_autodiff.cpp b/test/gtest_factor_autodiff.cpp
index 0ca75836e..b2b28b32d 100644
--- a/test/gtest_factor_autodiff.cpp
+++ b/test/gtest_factor_autodiff.cpp
@@ -19,26 +19,6 @@
 using namespace wolf;
 using namespace Eigen;
 
-template <int First, int Last>
-struct static_for
-{
-    template <typename Lambda>
-    static inline constexpr void apply(Lambda const& f)
-    {
-        if (First < Last)
-        {
-            f(std::integral_constant<int, First>{});
-            static_for<First + 1, Last>::apply(f);
-        }
-    }
-};
-template <int N>
-struct static_for<N, N>
-{
-    template <typename Lambda>
-    static inline constexpr void apply(Lambda const& f) {}
-};
-
 
 TEST(FactorAutodiff, AutodiffDummy1)
 {
-- 
GitLab