From: Martin Kronbichler Date: Tue, 22 Apr 2014 06:36:56 +0000 (+0000) Subject: Use another way to compute the value to be submitted. This should fix the final norm... X-Git-Tag: v8.2.0-rc1~578 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cc138522c33116e607cff0f2c643bd3fcf1af23;p=dealii.git 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 --- 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);