From: David Wells Date: Sat, 5 Nov 2016 02:46:45 +0000 (-0400) Subject: Initialize two DoFInfo fields. X-Git-Tag: v8.5.0-rc1~460^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3469%2Fhead;p=dealii.git Initialize two DoFInfo fields. These are the same values used in the reinit function. --- diff --git a/include/deal.II/meshworker/dof_info.h b/include/deal.II/meshworker/dof_info.h index cdfad1ec54..87aafc75f1 100644 --- a/include/deal.II/meshworker/dof_info.h +++ b/include/deal.II/meshworker/dof_info.h @@ -274,6 +274,8 @@ namespace MeshWorker template DoFInfo::DoFInfo(const DoFHandler &dof_handler) : + face_number (numbers::invalid_unsigned_int), + sub_number (numbers::invalid_unsigned_int), level_cell (false) { std::vector aux(1); diff --git a/include/deal.II/meshworker/dof_info.templates.h b/include/deal.II/meshworker/dof_info.templates.h index e2ea7d89b7..a585ac680e 100644 --- a/include/deal.II/meshworker/dof_info.templates.h +++ b/include/deal.II/meshworker/dof_info.templates.h @@ -24,6 +24,8 @@ namespace MeshWorker template DoFInfo::DoFInfo(const BlockInfo &info) : + face_number (numbers::invalid_unsigned_int), + sub_number (numbers::invalid_unsigned_int), block_info(&info, typeid(*this).name()), level_cell (false) {