From: buerg Date: Wed, 15 Jan 2014 20:16:19 +0000 (+0000) Subject: Fix tests/fe/crash_01.cc. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82a165f0f9170599c47acc4759e46e6cf3830f43;p=dealii-svn.git Fix tests/fe/crash_01.cc. git-svn-id: https://svn.dealii.org/trunk@32220 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/numerics/vector_tools.templates.h b/deal.II/include/deal.II/numerics/vector_tools.templates.h index f51cda8dcd..3339eaf63b 100644 --- a/deal.II/include/deal.II/numerics/vector_tools.templates.h +++ b/deal.II/include/deal.II/numerics/vector_tools.templates.h @@ -2946,8 +2946,8 @@ namespace VectorTools && (fe.base_element (base_indices.first).face_to_cell_index (line * fe.degree, face) <= fe.system_to_base_index (fe.face_to_cell_index (i, face)).second) && (fe.system_to_base_index (fe.face_to_cell_index (i, face)).second - < fe.base_element (base_indices.first).face_to_cell_index - ((line + 1) * fe.degree, face))) + <= fe.base_element (base_indices.first).face_to_cell_index + ((line + 1) * fe.degree - 1, face))) || ((dynamic_cast*> (&fe) != 0) && (line * fe.degree <= i) && (i < (line + 1) * fe.degree))) {