From aa46462bfaaf0ffadd50d7d18bb5f61b2ae6b983 Mon Sep 17 00:00:00 2001 From: Stephen Nicholas Swatman Date: Tue, 4 Feb 2025 13:12:48 +0100 Subject: [PATCH] Fix missing typename in sanity checks https://github.com/acts-project/acts/pull/4068 exposes a mistake in our sanity checks, revealing that there are some missing typename keywords. This commit fixes those errors by adding the necessary keywords. --- core/include/traccc/sanity/contiguous_on.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/include/traccc/sanity/contiguous_on.hpp b/core/include/traccc/sanity/contiguous_on.hpp index 4f2e5ab49..4c033828a 100644 --- a/core/include/traccc/sanity/contiguous_on.hpp +++ b/core/include/traccc/sanity/contiguous_on.hpp @@ -54,11 +54,11 @@ is_contiguous_on(P&& projection, const CONTAINER& in) { // Compress adjacent elements for (std::size_t i = 0; i < n; ++i) { if (i == 0) { - iout[iout_size++] = - projection(in.at(static_cast(i))); + iout[iout_size++] = projection( + in.at(static_cast(i))); } else { - projection_t v = - projection(in.at(static_cast(i))); + projection_t v = projection( + in.at(static_cast(i))); if (v != iout[iout_size - 1]) { iout[iout_size++] = v;