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