]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix an assert: It should read "nullptr", not "null_ptr" 4810/head
authorMatthias Maier <tamiko@43-1.org>
Sun, 13 Aug 2017 08:06:34 +0000 (03:06 -0500)
committerMatthias Maier <tamiko@43-1.org>
Sun, 13 Aug 2017 08:06:34 +0000 (03:06 -0500)
include/deal.II/distributed/grid_tools.h

index 89d0d17dd5ed32140aa18868650de8dc22f3a129..116b40e11639915f52cbbb27d17bf8a11874cb23 100644 (file)
@@ -207,7 +207,7 @@ namespace parallel
       constexpr int spacedim = MeshType::space_dimension;
       auto tria =
         static_cast<const parallel::Triangulation<dim, spacedim>*>(&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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.