From a7d5d9170d7e2274b028ff05a90a8c20713742c8 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 30 Nov 2015 07:45:12 -0600 Subject: [PATCH] Fix wrong reference to variable in test. --- tests/base/signaling_nan_table.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/base/signaling_nan_table.cc b/tests/base/signaling_nan_table.cc index 739b645d37..f6c1b2453d 100644 --- a/tests/base/signaling_nan_table.cc +++ b/tests/base/signaling_nan_table.cc @@ -36,10 +36,9 @@ template void check () { Table<2,T> t; - const T x = numbers::signaling_nan(); - const T array[6] = { x,x,x,x,x,x }; - t.reinit (2,3, &x); + t.reinit (2,3); + t.fill (numbers::signaling_nan()); deallog << "OK" << std::endl; } -- 2.39.5