Skip to content

Commit

Permalink
blueprint: Fix shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Nov 18, 2024
1 parent f2d2777 commit e909609
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions Examples/Python/src/Blueprint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,8 @@ void pseudoNavigation(const TrackingGeometry& trackingGeometry,

ACTS_VERBOSE("start pseudo navigation");

auto writeIntersection = [&](const Vector3& position,
const Surface& surface) {
csv << run << "," << position[0] << "," << position[1] << ","
<< position[2];
auto writeIntersection = [&](const Vector3& pos, const Surface& surface) {
csv << run << "," << pos[0] << "," << pos[1] << "," << pos[2];
csv << "," << surface.geometryId().volume();
csv << "," << surface.geometryId().boundary();
csv << "," << surface.geometryId().sensitive();
Expand Down
6 changes: 2 additions & 4 deletions Tests/UnitTests/Core/Geometry/BlueprintNodeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,8 @@ void pseudoNavigation(const TrackingGeometry& trackingGeometry,
}
}

auto writeIntersection = [&](const Vector3& position,
const Surface& surface) {
csv << run << "," << position[0] << "," << position[1] << ","
<< position[2];
auto writeIntersection = [&](const Vector3& pos, const Surface& surface) {
csv << run << "," << pos[0] << "," << pos[1] << "," << pos[2];
csv << "," << surface.geometryId().volume();
csv << "," << surface.geometryId().boundary();
csv << "," << surface.geometryId().sensitive();
Expand Down

0 comments on commit e909609

Please sign in to comment.