Skip to content

Commit

Permalink
Initialize normb to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius Meyer committed Oct 8, 2021
1 parent 95d3d5c commit c993b1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LINPACK/src/host/linpack_benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ linpack::LinpackBenchmark::generateInputData() {
std::mt19937 gen(this->mpi_comm_rank);
std::uniform_real_distribution<> dis(0.0, 1.0);
d->norma = 0.0;
d->normb = 0.0;
/*
Generate a matrix by using pseudo random number in the range (0,1)
*/
Expand Down

0 comments on commit c993b1a

Please sign in to comment.