From: Marc Fehling Date: Wed, 5 Apr 2023 22:20:40 +0000 (-0600) Subject: Improve error message. X-Git-Tag: v9.5.0-rc1~323^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15104%2Fhead;p=dealii.git Improve error message. --- diff --git a/include/deal.II/dofs/dof_accessor.templates.h b/include/deal.II/dofs/dof_accessor.templates.h index 9a73ca7f2e..404b861ba4 100644 --- a/include/deal.II/dofs/dof_accessor.templates.h +++ b/include/deal.II/dofs/dof_accessor.templates.h @@ -437,7 +437,7 @@ namespace internal Assert(fe_index_local_ptr != dof_handler.hp_object_fe_indices[structdim].begin() + dof_handler.hp_object_fe_ptr[structdim][obj_index + 1], - ExcNotImplemented()); + ExcMessage("Call distribute_dofs() first.")); const types::fe_index fe_index_local = std::distance(dof_handler.hp_object_fe_indices[structdim].begin() +