Skip to content

Commit

Permalink
Accommodate breaking changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
knoepfel committed Nov 29, 2022
1 parent 9554cb4 commit 0836d20
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,8 @@ namespace nnet {
{
fGeometry = &*(art::ServiceHandle<geo::Geometry const>());

const size_t TPC_CNT = (size_t)fGeometry->NTPC(0);
if (fSelectedTPC.empty()) {
for (size_t tpc = 0; tpc < TPC_CNT; ++tpc)
for (size_t tpc = 0; tpc < fGeometry->NTPC(); ++tpc)
fSelectedTPC.push_back(tpc);
}

Expand Down

0 comments on commit 0836d20

Please sign in to comment.