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 ac6556c commit 0444b5d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/initialization/InitDistribution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@ namespace impactx
{
// zero out the 6x6 matrix
CovarianceMatrix cv;
for (int i=1; i<=6; ++i) {
for (int j = 1; j <= 6; ++j) {
cv(i, j) = 0.0;
}
}
cv.setVal(0.0);

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

0 comments on commit 0444b5d

Please sign in to comment.