Skip to content

Commit 0f4d888

Browse files
committed
Make the code compile with oneAPI 2025.0.0.
1 parent d806df0 commit 0f4d888

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Core/include/Acts/EventData/MultiTrajectory.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ class MultiTrajectory {
696696

697697
visit_measurement(measdim, [this, istate]<std::size_t DIM>(
698698
std::integral_constant<std::size_t, DIM>) {
699-
self().template allocateCalibrated_impl(
699+
self().allocateCalibrated_impl(
700700
istate, ActsVector<DIM>{ActsVector<DIM>::Zero()},
701701
ActsSquareMatrix<DIM>{ActsSquareMatrix<DIM>::Zero()});
702702
});
@@ -705,7 +705,7 @@ class MultiTrajectory {
705705
template <std::size_t measdim, typename val_t, typename cov_t>
706706
void allocateCalibrated(IndexType istate, const Eigen::DenseBase<val_t>& val,
707707
const Eigen::DenseBase<cov_t>& cov) {
708-
self().template allocateCalibrated_impl(istate, val, cov);
708+
self().allocateCalibrated_impl(istate, val, cov);
709709
}
710710

711711
void setUncalibratedSourceLink(IndexType istate, SourceLink&& sourceLink)

Core/include/Acts/EventData/MultiTrajectoryBackendConcept.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,13 @@ concept MutableMultiTrajectoryBackend =
131131
{ v.template addColumn_impl<double>(col) };
132132

133133
{
134-
v.template allocateCalibrated_impl(istate, ActsVector<1>{},
135-
ActsSquareMatrix<1>{})
134+
v.allocateCalibrated_impl(istate, ActsVector<1>{},
135+
ActsSquareMatrix<1>{})
136136
};
137137
// Assuming intermediate values also work
138138
{
139-
v.template allocateCalibrated_impl(istate, ActsVector<eBoundSize>{},
140-
ActsSquareMatrix<eBoundSize>{})
139+
v.allocateCalibrated_impl(istate, ActsVector<eBoundSize>{},
140+
ActsSquareMatrix<eBoundSize>{})
141141
};
142142

143143
{ v.setUncalibratedSourceLink_impl(istate, std::move(sl)) };

Core/include/Acts/EventData/detail/MultiTrajectoryTestsCommon.hpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,7 @@ class MultiTrajectoryTestsCommon {
12251225

12261226
auto [par, cov] = generateBoundParametersCovariance(rng, {});
12271227

1228-
ts.template allocateCalibrated(par.head<3>(), cov.topLeftCorner<3, 3>());
1228+
ts.allocateCalibrated(par.head<3>(), cov.topLeftCorner<3, 3>());
12291229

12301230
BOOST_CHECK_EQUAL(ts.calibratedSize(), 3);
12311231
BOOST_CHECK_EQUAL(ts.template calibrated<3>(), par.head<3>());
@@ -1239,17 +1239,17 @@ class MultiTrajectoryTestsCommon {
12391239
BOOST_CHECK_EQUAL(ts.template calibratedCovariance<3>(),
12401240
ActsSquareMatrix<3>::Zero());
12411241

1242-
ts.template allocateCalibrated(par2.head<3>(), cov2.topLeftCorner<3, 3>());
1242+
ts.allocateCalibrated(par2.head<3>(), cov2.topLeftCorner<3, 3>());
12431243
BOOST_CHECK_EQUAL(ts.calibratedSize(), 3);
12441244
// The values are re-assigned
12451245
BOOST_CHECK_EQUAL(ts.template calibrated<3>(), par2.head<3>());
12461246
BOOST_CHECK_EQUAL(ts.template calibratedCovariance<3>(),
12471247
(cov2.topLeftCorner<3, 3>()));
12481248

12491249
// Re-allocation with a different measurement dimension is an error
1250-
BOOST_CHECK_THROW(ts.template allocateCalibrated(
1251-
par2.head<4>(), cov2.topLeftCorner<4, 4>()),
1252-
std::invalid_argument);
1250+
BOOST_CHECK_THROW(
1251+
ts.allocateCalibrated(par2.head<4>(), cov2.topLeftCorner<4, 4>()),
1252+
std::invalid_argument);
12531253
}
12541254
};
12551255
} // namespace Acts::detail::Test

0 commit comments

Comments
 (0)