From 55a2ebd979946b8fb8ec3afdbe037590f6804ff3 Mon Sep 17 00:00:00 2001 From: Rene Gassmoeller Date: Tue, 25 Jul 2017 16:11:35 -0600 Subject: [PATCH] Fix confusion about dim and spacedim --- source/base/data_out_base.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5