From: Wolfgang Bangerth Date: Mon, 30 Nov 2015 13:45:12 +0000 (-0600) Subject: Fix wrong reference to variable in test. X-Git-Tag: v8.4.0-rc2~186^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7d5d9170d7e2274b028ff05a90a8c20713742c8;p=dealii.git Fix wrong reference to variable in test. --- 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; }