diff --git a/test/gtest_factor_autodiff.cpp b/test/gtest_factor_autodiff.cpp index 0ca75836e54c0661be560a623f484bee0e5c592a..b2b28b32d89412e3afbd2f3466946bed6cc1932b 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) {