Skip to content

Commit

Permalink
fixing mistake I made taking code rabbit suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosie-Hasan committed Jan 15, 2025
1 parent 83c742c commit 831f82b
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions Examples/Algorithms/TrackFinding/src/GbtsSeedingAlgorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,10 @@ ActsExamples::ProcessCode ActsExamples::GbtsSeedingAlgorithm::execute(
for (auto sp : GbtsSpacePoints) {
const auto &links = sp.SP->sourceLinks();
if (!links.empty()) {
const auto &frontLink = links.front();
if (frontLink.template has<IndexSourceLink>()) {
ACTS_DEBUG(
"Gbts space points: "
<< " Gbts_id: " << sp.gbtsID << " z: " << sp.SP->z()
<< " r: " << sp.r() << " ACTS volume: "
<< frontLink.template get<IndexSourceLink>().geometryId().volume()
<< "\n");
}
ACTS_DEBUG("Gbts space points: Gbts_id: "
<< sp.gbtsID << " z: " << sp.SP->z() << " r: " << sp.SP->r()
<< " ACTS volume: "
<< links.front().get<IndexSourceLink>().geometryId().volume());
}
}
// this is now calling on a core algorithm
Expand Down

0 comments on commit 831f82b

Please sign in to comment.