]> https://gitweb.dealii.org/ - dealii.git/commitdiff
apply suggestion 10545/head
authorTimo Heister <timo.heister@gmail.com>
Sun, 21 Jun 2020 15:40:54 +0000 (11:40 -0400)
committerTimo Heister <timo.heister@gmail.com>
Sun, 21 Jun 2020 15:40:54 +0000 (11:40 -0400)
include/deal.II/grid/grid_tools.h

index 5d36e157cd1cd697b8578606f1e6efe8afb4d0ec..bc3a3478faad4fde3a32828d6d7f125ba65968a1 100644 (file)
@@ -3150,7 +3150,7 @@ namespace GridTools
   {
     // We forward call to the ArrayView version:
     const ArrayView<const unsigned int> view(
-      &indices[0], GeometryInfo<dim>::vertices_per_cell);
+      indices, GeometryInfo<dim>::vertices_per_cell);
     return cell_measure(all_vertices, view);
   }
 

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.