Skip to content

Commit

Permalink
Update InitDistribution.cpp
Browse files Browse the repository at this point in the history
Modify zero-initialization of CovarianceMatrix cv.
  • Loading branch information
cemitch99 authored Nov 20, 2024
1 parent fa67921 commit d460272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/initialization/InitDistribution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace impactx
)
{
// zero out the 6x6 matrix
CovarianceMatrix cv(0);
CovarianceMatrix cv{};

// initialize from 2nd order beam moments
std::visit([&](auto&& distribution) {
Expand Down

0 comments on commit d460272

Please sign in to comment.