From dddf38a32607d409bbed4a8977336f3de083237b Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sun, 13 Aug 2017 03:06:34 -0500 Subject: [PATCH] Fix an assert: It should read "nullptr", not "null_ptr" --- include/deal.II/distributed/grid_tools.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5