From: Rene Gassmoeller Date: Tue, 25 Jul 2017 22:11:35 +0000 (-0600) Subject: Fix confusion about dim and spacedim X-Git-Tag: v9.0.0-rc1~1377^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4660%2Fhead;p=dealii.git Fix confusion about dim and spacedim --- diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index 7bdb0a58d7..1e4f71f44f 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -6542,7 +6542,7 @@ create_xdmf_entry (const DataOutBase::DataOutFilter &data_filter, (void)comm; AssertThrow(false, ExcMessage ("XDMF support requires HDF5 to be turned on.")); #endif - AssertThrow(dim == 2 || dim == 3, ExcMessage ("XDMF only supports 2 or 3 dimensions.")); + AssertThrow(spacedim == 2 || spacedim == 3, ExcMessage ("XDMF only supports 2 or 3 space dimensions.")); local_node_cell_count[0] = data_filter.n_nodes(); local_node_cell_count[1] = data_filter.n_cells();