]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix bug!
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 22 Nov 2000 19:04:48 +0000 (19:04 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 22 Nov 2000 19:04:48 +0000 (19:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@3498 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/precondition_block.templates.h

index 42aafca092f14bbb31bd76e2cd4c2842601f8539..776d1f5ad66a2ec9e855d71d0c44fed8d89dfd4e 100644 (file)
@@ -141,6 +141,7 @@ void PreconditionBlock<number,inverse_type>::invert_diagblocks()
       if (store_diagonals)
        var_diagonal.resize(1);
       var_inverse.resize(1);
+      var_inverse[0].reinit(blocksize);
 
       for (unsigned int row_cell=0; row_cell<blocksize; ++row_cell)
        for (unsigned int column_cell=0; column_cell<blocksize; ++column_cell)

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.