From 4bdad4fe6cd4cfa2f4dff1bd013697700ffeb7fb Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 7 Jan 2019 07:04:50 -0700 Subject: [PATCH] Use correct data type for a random number. --- tests/multigrid/transfer_05.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/multigrid/transfer_05.cc b/tests/multigrid/transfer_05.cc index b799c0d53a..f36255de5f 100644 --- a/tests/multigrid/transfer_05.cc +++ b/tests/multigrid/transfer_05.cc @@ -148,7 +148,7 @@ check(const unsigned int fe_degree) // set values: for (unsigned int b = 0; b < nb; ++b) for (unsigned int i = 0; i < lbv[l].block(b).local_size(); ++i) - lbv[l].block(b).local_element(i) = random_value(); + lbv[l].block(b).local_element(i) = random_value(); lbv[l].compress(VectorOperation::insert); } @@ -173,7 +173,7 @@ check(const unsigned int fe_degree) 0, tr.n_global_levels() - 1); for (unsigned int b = 0; b < nb; ++b) for (unsigned int i = 0; i < bv.block(b).local_size(); ++i) - bv.block(b).local_element(i) = random_value(); + bv.block(b).local_element(i) = random_value(); transfer.copy_to_mg(mgdof, lbv2, bv); // Also check that the block vector has its (global) size set on each -- 2.39.5