Skip to content

Commit

Permalink
bugfix for measurecalc
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenSeckler committed Jul 15, 2020
1 parent 4d01b0c commit a2c2482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parallel/LoadCalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ void MeasureLoad::calcConstants() {
numElements = _times.size() - start;
}

std::array<double, 5> momentsX; // stores the moments of x: sum{t^i}
std::array<double, 3> momentsYX; // stores the following: sum{d* t^i}
std::array<double, 5> momentsX{}; // stores the moments of x: sum{t^i}
std::array<double, 3> momentsYX{}; // stores the following: sum{d* t^i}

momentsX[0] = numElements;

Expand Down

0 comments on commit a2c2482

Please sign in to comment.