From 026886f74a8e8fc39ae006409b5ea1e8d6366e0e Mon Sep 17 00:00:00 2001 From: Benjamin Brands Date: Tue, 6 Feb 2018 11:25:12 +0100 Subject: [PATCH] ScaLAPACK tests: use matrix typeid in creation of random matrices --- tests/lapack/create_matrix.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/lapack/create_matrix.h b/tests/lapack/create_matrix.h index 7e4e2d4052..a06bd006bb 100644 --- a/tests/lapack/create_matrix.h +++ b/tests/lapack/create_matrix.h @@ -26,7 +26,7 @@ void create_spd (FullMatrix &A) for (unsigned int i = 0; i < size; ++i) for (unsigned int j = i; j < size; ++j) { - const double val = random_value(); + const double val = random_value(); Assert (val >= 0. && val <= 1., ExcInternalError()); if (i==j) @@ -48,5 +48,5 @@ void create_random (FullMatrix &A) { for (unsigned int i = 0; i < A.m(); ++i) for (unsigned int j = 0; j < A.n(); ++j) - A(i,j) = random_value(); + A(i,j) = random_value(); } -- 2.39.5