From 01a4d38e2852a14d3279bce40f2d33a9995529f1 Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 17 Nov 2006 05:39:32 +0000 Subject: [PATCH] Add an explicit template argument, to be able to compile on gcc 3.2.x on itanium git-svn-id: https://svn.dealii.org/trunk@14205 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/grid/grid_reordering.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/deal.II/source/grid/grid_reordering.cc b/deal.II/deal.II/source/grid/grid_reordering.cc index e1167574b7..88a39a654c 100644 --- a/deal.II/deal.II/source/grid/grid_reordering.cc +++ b/deal.II/deal.II/source/grid/grid_reordering.cc @@ -1462,7 +1462,7 @@ GridReordering<3>::invert_all_cells_of_negative_grid( // in lexicographic ordering for (unsigned int i=0; i::vertices_per_cell; ++i) vertices_lex[GeometryInfo<3>::ucd_to_deal[i]]=cells[cell_no].vertices[i]; - if (GridTools::cell_measure(all_vertices, vertices_lex) < 0) + if (GridTools::cell_measure<3>(all_vertices, vertices_lex) < 0) { ++n_negative_cells; for (unsigned int i=0; i<4; ++i) @@ -1476,7 +1476,7 @@ GridReordering<3>::invert_all_cells_of_negative_grid( // bin for (unsigned int i=0; i::vertices_per_cell; ++i) vertices_lex[GeometryInfo<3>::ucd_to_deal[i]]=cells[cell_no].vertices[i]; - AssertThrow(GridTools::cell_measure(all_vertices, vertices_lex) > 0, + AssertThrow(GridTools::cell_measure<3>(all_vertices, vertices_lex) > 0, ExcInternalError()); } } -- 2.39.5