From: Sebastian Proell Date: Sun, 14 May 2023 13:58:50 +0000 (+0200) Subject: Fix step-77 with NOX: zero out residual X-Git-Tag: v9.5.0-rc1~233^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=987d12e3d1c888641b5cdb315ecb03397361166b;p=dealii.git Fix step-77 with NOX: zero out residual --- diff --git a/tests/trilinos/step-77-with-nox.cc b/tests/trilinos/step-77-with-nox.cc index cfc82d5436..4035f74038 100644 --- a/tests/trilinos/step-77-with-nox.cc +++ b/tests/trilinos/step-77-with-nox.cc @@ -245,6 +245,8 @@ namespace Step77 const Vector &evaluation_point, Vector & residual) { + residual = 0; + const QGauss quadrature_formula(fe.degree + 1); FEValues fe_values(fe, quadrature_formula,