From: Daniel Arndt Date: Thu, 24 Sep 2020 12:58:01 +0000 (-0400) Subject: Fix ICC warning when calling GridTools::cell_measure X-Git-Tag: v9.3.0-rc1~1069^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10963%2Fhead;p=dealii.git Fix ICC warning when calling GridTools::cell_measure --- diff --git a/source/grid/tria.cc b/source/grid/tria.cc index af34f97404..e280fccfb4 100644 --- a/source/grid/tria.cc +++ b/source/grid/tria.cc @@ -2199,10 +2199,9 @@ namespace internal // throw an exception if no such cells should exist. if (tria.check_for_distorted_cells) { - const double cell_measure = - GridTools::cell_measure(vertices, - ArrayView( - cells[cell_no].vertices)); + const double cell_measure = GridTools::cell_measure( + vertices, + ArrayView(cells[cell_no].vertices)); AssertThrow(cell_measure > 0, ExcGridHasInvalidCell(cell_no)); } }