From: Nicola Giuliani Date: Mon, 24 May 2021 08:25:48 +0000 (+0200) Subject: added check not to call faces if dim == 1 when clearing user data X-Git-Tag: v9.4.0-rc1~1342^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=730c04f7edadcd39d76917cf70714e6562507cff;p=dealii.git added check not to call faces if dim == 1 when clearing user data --- diff --git a/source/grid/tria.cc b/source/grid/tria.cc index 96efb3aa05..0c18c0957d 100644 --- a/source/grid/tria.cc +++ b/source/grid/tria.cc @@ -10992,7 +10992,8 @@ Triangulation::clear_user_data() { // let functions in anonymous namespace do their work dealii::clear_user_data(levels); - dealii::clear_user_data(faces.get()); + if (dim > 1) + dealii::clear_user_data(faces.get()); }