From: bangerth Date: Thu, 27 Sep 2012 16:52:19 +0000 (+0000) Subject: Fix one place where the syntax has to be adjusted to the new ComponentMask class. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aace0830b01667ef1d1240bd67ba0beac9ecfc5;p=dealii-svn.git Fix one place where the syntax has to be adjusted to the new ComponentMask class. git-svn-id: https://svn.dealii.org/trunk@26790 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/dofs/dof_tools.cc b/deal.II/source/dofs/dof_tools.cc index e94bba409f..cb1541df98 100644 --- a/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/source/dofs/dof_tools.cc @@ -4449,7 +4449,7 @@ namespace DoFTools std::vector > &constant_modes) { const unsigned int n_components = dof_handler.get_fe().n_components(); - Assert (n_components == component_mask.size(), + Assert (component_mask.represents_n_components(n_components), ExcDimensionMismatch(n_components, component_mask.size())); std::vector localized_component (n_components,