From c993b1a0746352b65b090f8004a7134b2bfd6319 Mon Sep 17 00:00:00 2001 From: Marius Meyer Date: Fri, 8 Oct 2021 11:00:55 +0200 Subject: [PATCH] Initialize normb to 0 --- LINPACK/src/host/linpack_benchmark.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/LINPACK/src/host/linpack_benchmark.cpp b/LINPACK/src/host/linpack_benchmark.cpp index 8d5aaad2..3409e35f 100644 --- a/LINPACK/src/host/linpack_benchmark.cpp +++ b/LINPACK/src/host/linpack_benchmark.cpp @@ -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) */