diff --git a/tests/modules/testTracking.cpp b/tests/modules/testTracking.cpp
index 828397c1b77deaee9a988bcbd8adfc1b3fe4cdbe..1710844b19c6423842bc7b2a9a95bed9b084ea6b 100644
--- a/tests/modules/testTracking.cpp
+++ b/tests/modules/testTracking.cpp
@@ -75,7 +75,7 @@ TEMPLATE_TEST_CASE("Tracking", "tracking", tracking_leapfrog_curved::Tracking,
   // for algorithms that know magnetic deflections choose: +-50uT, 0uT
   // otherwise just 0uT
   auto Bfield = GENERATE_COPY(filter(
-      [isParallel]([[maybe_unused]] MagneticFluxType v) {
+      []([[maybe_unused]] MagneticFluxType v) {
         if constexpr (std::is_same_v<TestType, tracking_line::Tracking>)
           return v == 0_uT;
         else