Skip to content

Commit

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

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

0 comments on commit fa67921

Please sign in to comment.