From: wolf Date: Fri, 21 Feb 2003 23:09:42 +0000 (+0000) Subject: Replace assert(c) by Assert(c,...) X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ff2ba5e4909e8ad577d681b5dbeae00b8e7bc3c;p=dealii-svn.git Replace assert(c) by Assert(c,...) git-svn-id: https://svn.dealii.org/trunk@7223 0785d39b-7218-0410-832d-ea1e28bc413d --- 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);