From: Patrick Esser Date: Thu, 21 Apr 2016 13:29:26 +0000 (+0200) Subject: initialize Du to correct size X-Git-Tag: v8.5.0-rc1~1088^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11c94ad5e;p=dealii.git initialize Du to correct size --- diff --git a/include/deal.II/algorithms/newton.templates.h b/include/deal.II/algorithms/newton.templates.h index 9a844e74b2..254563f2d3 100644 --- a/include/deal.II/algorithms/newton.templates.h +++ b/include/deal.II/algorithms/newton.templates.h @@ -107,6 +107,7 @@ namespace Algorithms typename VectorMemory::Pointer Du(mem); typename VectorMemory::Pointer res(mem); + Du->reinit(u); res->reinit(u); AnyData src1; AnyData src2;