From 8cc138522c33116e607cff0f2c643bd3fcf1af23 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Tue, 22 Apr 2014 06:36:56 +0000 Subject: [PATCH] Use another way to compute the value to be submitted. This should fix the final norm (but not the test case) on the tester git-svn-id: https://svn.dealii.org/trunk@32800 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/matrix_free/step-48b.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/matrix_free/step-48b.cc b/tests/matrix_free/step-48b.cc index 15dec5539b..0d90bc5304 100644 --- a/tests/matrix_free/step-48b.cc +++ b/tests/matrix_free/step-48b.cc @@ -142,7 +142,7 @@ namespace Step48 const VectorizedArray simple_value = 2.*current_value - old_value; const VectorizedArray sin_value = delta_t_sqr * std::sin(current_value); - current.submit_value (submit_value,q); + current.submit_value (simple_value-sin_value,q); current.submit_gradient (- delta_t_sqr * current.get_gradient(q), q); -- 2.39.5