Skip to content

Commit

Permalink
Merge pull request #577 from beomki-yeo/remove-unused-var
Browse files Browse the repository at this point in the history
Remove unused varaible
  • Loading branch information
beomki-yeo authored Oct 25, 2023
2 parents b160d60 + e5bd045 commit 5f52056
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions utils/include/detray/detectors/create_wire_chamber.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ inline auto create_wire_chamber(vecmem::memory_resource &resource,
// Wire center positions
detray::dvector<point3> m_centers{};

unsigned int n_wires_per_layer{0u};
scalar theta{0.f};
while (theta <= 2.f * constant<scalar>::pi) {

Expand All @@ -147,8 +146,6 @@ inline auto create_wire_chamber(vecmem::memory_resource &resource,
const scalar z = 0.f;

m_centers.push_back({x, y, z});

n_wires_per_layer++;
theta += delta;
}

Expand Down

0 comments on commit 5f52056

Please sign in to comment.