From: Markus Buerg Date: Sun, 5 Jan 2014 23:45:35 +0000 (+0000) Subject: Fix bug in project_boundary_values_curl_conforming also for higher-order case. X-Git-Tag: v8.2.0-rc1~1064 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80baba6d1590ef1ba0705227c249372e377c65e0;p=dealii.git Fix bug in project_boundary_values_curl_conforming also for higher-order case. git-svn-id: https://svn.dealii.org/trunk@32172 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 5aa1bb3c9d..f51cda8dcd 100644 --- a/deal.II/include/deal.II/numerics/vector_tools.templates.h +++ b/deal.II/include/deal.II/numerics/vector_tools.templates.h @@ -3027,7 +3027,7 @@ namespace VectorTools fe_index_old = fe_index; fe_index += fe.element_multiplicity (i) * fe.base_element (i).n_components (); - if (fe_index >= first_vector_component) + if (fe_index > first_vector_component) break; }