From: Benjamin Brands Date: Tue, 6 Feb 2018 10:25:12 +0000 (+0100) Subject: ScaLAPACK tests: use matrix typeid in creation of random matrices X-Git-Tag: v9.0.0-rc1~448^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=026886f74a8e8fc39ae006409b5ea1e8d6366e0e;p=dealii.git ScaLAPACK tests: use matrix typeid in creation of random matrices --- 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(); }