]> https://gitweb.dealii.org/ - dealii.git/commitdiff
set to zero if not reinited
authorjodlbauer <jdschule@gmx.at>
Wed, 19 Dec 2018 10:24:29 +0000 (11:24 +0100)
committerjodlbauer <jdschule@gmx.at>
Wed, 19 Dec 2018 10:24:29 +0000 (11:24 +0100)
include/deal.II/multigrid/mg_transfer_matrix_free.h

index d45ac926c5c0755338448f66fcefdfcff2b7862e..2e17af047be33b13b7e8da6d6ef51eb7c6acfdde 100644 (file)
@@ -653,6 +653,8 @@ MGTransferBlockMatrixFree<dim, Number>::copy_to_mg(
               }
             dst[level].collect_sizes();
           }
+        else
+          dst[level] = 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.