]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix a minor bug in MatrixFreeOperators::Base::vmult_interface_down() 4900/head
authorDenis Davydov <davydden@gmail.com>
Tue, 15 Aug 2017 15:05:39 +0000 (17:05 +0200)
committerDenis Davydov <davydden@gmail.com>
Fri, 18 Aug 2017 11:40:45 +0000 (13:40 +0200)
include/deal.II/matrix_free/operators.h

index 660aefad1af564ab11251a543cf2ed54d32f0bcc..be1293e32adea2ca0d1c1e9fd0799b6a853e14e3 100644 (file)
@@ -1312,7 +1312,7 @@ namespace MatrixFreeOperators
             .local_element(edge_constrained_indices[j][i])
               = edge_constrained_values[j][i].first;
           }
-        for ( ; c<dst.local_size(); ++c)
+        for ( ; c<subblock(dst,j).local_size(); ++c)
           subblock(dst,j).local_element(c) = 0.;
       }
   }

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.