]> https://gitweb.dealii.org/ - dealii.git/commitdiff
new access in SparseMatrix
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 9 Jun 2000 20:50:42 +0000 (20:50 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 9 Jun 2000 20:50:42 +0000 (20:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@2998 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 62d8d5170aaed456e6eba69c726b1afebaef7229..791f737f5cc21498824c6bf1d4042eb9f05c00af 100644 (file)
@@ -106,7 +106,7 @@ void PreconditionBlock<number,inverse_type>::invert_diagblocks()
       for (unsigned int row_cell=0; row_cell<blocksize; ++row_cell, ++row)
        for (unsigned int column_cell=0, column=cell*blocksize;
             column_cell<blocksize; ++column_cell, ++column)
-         M_cell(row_cell,column_cell)=M(row,column);
+         M_cell(row_cell,column_cell)=M.el(row,column);
 //      try
 //     {
       if (blocksize <=4)

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.