From a4add365dd2d73c673679f03c2cf448947ff2ce0 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Wed, 9 Dec 2020 13:50:23 -0600 Subject: [PATCH] Updating the mesh dimension check in LibMesh::initialize. --- src/mesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh.cpp b/src/mesh.cpp index 6f4fd73274..7e60dc00ec 100644 --- a/src/mesh.cpp +++ b/src/mesh.cpp @@ -2132,7 +2132,7 @@ void LibMesh::initialize() m_->prepare_for_use(); // ensure that the loaded mesh is 3 dimensional - if(m_->spatial_dimension() != n_dimension_) { + if(m_->mesh_dimension() != n_dimension_) { fatal_error(fmt::format("Mesh file {} specified for use in an unstructured mesh is not a 3D mesh.", filename_)); }