Skip to content

Commit

Permalink
fix: change templates order for labelClusters (#1827)
Browse files Browse the repository at this point in the history
Connected to #1825 

Not sure if this closes that issue or it needs more investigation by @gagnonlg , but without this PR I cannot compile clustering with  `v23` in Athena

/cc @paulgessinger
  • Loading branch information
CarloVarni committed Feb 6, 2023
1 parent 2c7b63f commit 3549bb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/include/Acts/Clusterization/Clusterization.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ ConnectResult Connect1D<Cell>::operator()(const Cell& ref, const Cell& iter) {
return deltaCol == 1 ? ConnectResult::eConn : ConnectResult::eNoConnStop;
}

template <typename CellCollection, typename Connect, size_t GridDim>
template <typename CellCollection, size_t GridDim, typename Connect>
void labelClusters(CellCollection& cells, Connect connect) {
using Cell = typename CellCollection::value_type;
internal::staticCheckCellType<Cell, GridDim>();
Expand Down Expand Up @@ -316,7 +316,7 @@ ClusterCollection createClusters(CellCollection& cells, Connect connect) {
using Cluster = typename ClusterCollection::value_type;
internal::staticCheckCellType<Cell, GridDim>();
internal::staticCheckClusterType<Cluster&, const Cell&>();
labelClusters<CellCollection, Connect, GridDim>(cells, connect);
labelClusters<CellCollection, GridDim, Connect>(cells, connect);
return mergeClusters<CellCollection, ClusterCollection, GridDim>(cells);
}

Expand Down

0 comments on commit 3549bb1

Please sign in to comment.