From 3d58bcafcc7157e763947b580dab1276bce25de3 Mon Sep 17 00:00:00 2001 From: Attila Krasznahorkay <30694331+krasznaa@users.noreply.github.com> Date: Tue, 3 Dec 2024 18:36:11 +0100 Subject: [PATCH] fix: oneAPI 2025 Fixes, main branch (2024.12.04.) (#3938) This is a twin of #3846. Unfortunately between that PR going in and [v38.0.0](https://github.com/acts-project/acts/releases/tag/v38.0.0) being made, some more errors of the same kind went in. This is meant to fix those. --- Core/include/Acts/EventData/MultiTrajectory.hpp | 4 ++-- .../Acts/EventData/MultiTrajectoryBackendConcept.hpp | 8 ++++---- .../EventData/detail/MultiTrajectoryTestsCommon.hpp | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Core/include/Acts/EventData/MultiTrajectory.hpp b/Core/include/Acts/EventData/MultiTrajectory.hpp index e293c6c9c5f..1951d558ee7 100644 --- a/Core/include/Acts/EventData/MultiTrajectory.hpp +++ b/Core/include/Acts/EventData/MultiTrajectory.hpp @@ -696,7 +696,7 @@ class MultiTrajectory { visit_measurement(measdim, [this, istate]( std::integral_constant) { - self().template allocateCalibrated_impl( + self().allocateCalibrated_impl( istate, ActsVector{ActsVector::Zero()}, ActsSquareMatrix{ActsSquareMatrix::Zero()}); }); @@ -705,7 +705,7 @@ class MultiTrajectory { template void allocateCalibrated(IndexType istate, const Eigen::DenseBase& val, const Eigen::DenseBase& cov) { - self().template allocateCalibrated_impl(istate, val, cov); + self().allocateCalibrated_impl(istate, val, cov); } void setUncalibratedSourceLink(IndexType istate, SourceLink&& sourceLink) diff --git a/Core/include/Acts/EventData/MultiTrajectoryBackendConcept.hpp b/Core/include/Acts/EventData/MultiTrajectoryBackendConcept.hpp index 83f2593d647..e7c6a6d3fdf 100644 --- a/Core/include/Acts/EventData/MultiTrajectoryBackendConcept.hpp +++ b/Core/include/Acts/EventData/MultiTrajectoryBackendConcept.hpp @@ -131,13 +131,13 @@ concept MutableMultiTrajectoryBackend = { v.template addColumn_impl(col) }; { - v.template allocateCalibrated_impl(istate, ActsVector<1>{}, - ActsSquareMatrix<1>{}) + v.allocateCalibrated_impl(istate, ActsVector<1>{}, + ActsSquareMatrix<1>{}) }; // Assuming intermediate values also work { - v.template allocateCalibrated_impl(istate, ActsVector{}, - ActsSquareMatrix{}) + v.allocateCalibrated_impl(istate, ActsVector{}, + ActsSquareMatrix{}) }; { v.setUncalibratedSourceLink_impl(istate, std::move(sl)) }; diff --git a/Core/include/Acts/EventData/detail/MultiTrajectoryTestsCommon.hpp b/Core/include/Acts/EventData/detail/MultiTrajectoryTestsCommon.hpp index 7926ca3ba77..598eef039c8 100644 --- a/Core/include/Acts/EventData/detail/MultiTrajectoryTestsCommon.hpp +++ b/Core/include/Acts/EventData/detail/MultiTrajectoryTestsCommon.hpp @@ -1225,7 +1225,7 @@ class MultiTrajectoryTestsCommon { auto [par, cov] = generateBoundParametersCovariance(rng, {}); - ts.template allocateCalibrated(par.head<3>(), cov.topLeftCorner<3, 3>()); + ts.allocateCalibrated(par.head<3>(), cov.topLeftCorner<3, 3>()); BOOST_CHECK_EQUAL(ts.calibratedSize(), 3); BOOST_CHECK_EQUAL(ts.template calibrated<3>(), par.head<3>()); @@ -1239,7 +1239,7 @@ class MultiTrajectoryTestsCommon { BOOST_CHECK_EQUAL(ts.template calibratedCovariance<3>(), ActsSquareMatrix<3>::Zero()); - ts.template allocateCalibrated(par2.head<3>(), cov2.topLeftCorner<3, 3>()); + ts.allocateCalibrated(par2.head<3>(), cov2.topLeftCorner<3, 3>()); BOOST_CHECK_EQUAL(ts.calibratedSize(), 3); // The values are re-assigned BOOST_CHECK_EQUAL(ts.template calibrated<3>(), par2.head<3>()); @@ -1247,9 +1247,9 @@ class MultiTrajectoryTestsCommon { (cov2.topLeftCorner<3, 3>())); // Re-allocation with a different measurement dimension is an error - BOOST_CHECK_THROW(ts.template allocateCalibrated( - par2.head<4>(), cov2.topLeftCorner<4, 4>()), - std::invalid_argument); + BOOST_CHECK_THROW( + ts.allocateCalibrated(par2.head<4>(), cov2.topLeftCorner<4, 4>()), + std::invalid_argument); } }; } // namespace Acts::detail::Test