From: Matthias Maier Date: Sun, 13 Aug 2017 08:06:34 +0000 (-0500) Subject: Fix an assert: It should read "nullptr", not "null_ptr" X-Git-Tag: v9.0.0-rc1~1280^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4810%2Fhead;p=dealii.git Fix an assert: It should read "nullptr", not "null_ptr" --- diff --git a/include/deal.II/distributed/grid_tools.h b/include/deal.II/distributed/grid_tools.h index 89d0d17dd5..116b40e116 100644 --- a/include/deal.II/distributed/grid_tools.h +++ b/include/deal.II/distributed/grid_tools.h @@ -207,7 +207,7 @@ namespace parallel constexpr int spacedim = MeshType::space_dimension; auto tria = static_cast*>(&mesh.get_triangulation()); - Assert (tria != null_ptr, + Assert (tria != nullptr, ExcMessage("The function exchange_cell_data_to_ghosts() only works with parallel triangulations.")); // map neighbor_id -> data_buffer where we accumulate the data to send