From: Daniel Arndt Date: Sun, 1 Oct 2017 20:51:26 +0000 (+0200) Subject: Fix MatrixFreeOperators::Base::initialize_dof_vector X-Git-Tag: v9.0.0-rc1~995^2~4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78df2a19fda28dc769e1e4672498ddfbc7d996ea;p=dealii.git Fix MatrixFreeOperators::Base::initialize_dof_vector --- diff --git a/include/deal.II/matrix_free/operators.h b/include/deal.II/matrix_free/operators.h index 91a5967ef0..fbf9c6b61d 100644 --- a/include/deal.II/matrix_free/operators.h +++ b/include/deal.II/matrix_free/operators.h @@ -955,7 +955,8 @@ namespace MatrixFreeOperators const unsigned int index = selected_rows[i]; if (!subblock(vec,index).partitioners_are_compatible (*data->get_dof_info(index).vector_partitioner)) - data->initialize_dof_vector(subblock(vec,index)); + data->initialize_dof_vector(subblock(vec,index),index); + Assert(subblock(vec,index).partitioners_are_globally_compatible (*data->get_dof_info(index).vector_partitioner), ExcInternalError());