Skip to content

Commit

Permalink
fix: Maybe uninitialized warning (#1677)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger authored Nov 21, 2022
1 parent 368e897 commit cf1fbfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ ActsExamples::TGeoITkModuleSplitter::splitDiscModule(
// Check annulus bounds origin
auto printOrigin = [&](const Acts::Surface& sf) {
Acts::Vector3 discOrigin =
sf.localToGlobal(gctx, Acts::Vector2(0., 0.), {});
sf.localToGlobal(gctx, Acts::Vector2(0., 0.), Acts::Vector3::Zero());
std::string out =
"Disc surface origin at: " + std::to_string(discOrigin[0]) + ", " +
std::to_string(discOrigin[1]) + ", " + std::to_string(discOrigin[2]);
Expand Down

0 comments on commit cf1fbfa

Please sign in to comment.