From: 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-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=142fab3b4e8ac696d4e9761d935f3c08a31b8236;p=dealii-svn.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; }