]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix MatrixFreeOperators::Base::initialize_dof_vector
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 1 Oct 2017 20:51:26 +0000 (22:51 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 1 Oct 2017 20:51:26 +0000 (22:51 +0200)
include/deal.II/matrix_free/operators.h

index 91a5967ef01c5231591bf06d197c62c5987553bb..fbf9c6b61da37775aed7a53e7ef760e4877fb99f 100644 (file)
@@ -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());

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.