From 4ff2ba5e4909e8ad577d681b5dbeae00b8e7bc3c Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 21 Feb 2003 23:09:42 +0000 Subject: [PATCH] Replace assert(c) by Assert(c,...) git-svn-id: https://svn.dealii.org/trunk@7223 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/grid/grid_reordering.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deal.II/deal.II/source/grid/grid_reordering.cc b/deal.II/deal.II/source/grid/grid_reordering.cc index 64713dfd69..ae25646a90 100644 --- a/deal.II/deal.II/source/grid/grid_reordering.cc +++ b/deal.II/deal.II/source/grid/grid_reordering.cc @@ -1597,16 +1597,16 @@ namespace internal // process of rotating things CellData<2> q = mquads[qn].original_cell_data; - //Are the sides oriented? - assert(is_fully_oriented_quad(qn)); + // Are the sides oriented? + Assert(is_fully_oriented_quad(qn), ExcInternalError()); bool s[4]; //whether side 1 ,2, 3, 4 are in the default orientation for(int sn=0;sn<4;sn++) { s[sn]=is_side_default_oriented(qn,sn); } // Are they oriented in the "deal way"? - assert(s[0]==s[2]); - assert(s[1]==s[3]); + Assert(s[0]==s[2], ExcInternalError()); + Assert(s[1]==s[3], ExcInternalError()); // How much we rotate them by. int rotn = 2*(s[0]?1:0)+ ((s[0]^s[1])?1:0); -- 2.39.5