]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove now unused variable.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 15 Jan 2013 14:20:49 +0000 (14:20 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 15 Jan 2013 14:20:49 +0000 (14:20 +0000)
git-svn-id: https://svn.dealii.org/trunk@28066 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 2fa07d847b27bf49bdafa99609c5db60b36e8771..6527a49ce9045b569135256b718e1e077beb236a 100644 (file)
@@ -252,13 +252,6 @@ SparseLUDecomposition<number>::strengthen_diagonal_impl ()
 {
   for (unsigned int row=0; row<this->m(); ++row)
     {
-      // get the length of the row
-      // (without the diagonal element)
-      const unsigned int rowlength
-        = (this->get_sparsity_pattern().get_rowstart_indices()[row+1]
-           -this->get_sparsity_pattern().get_rowstart_indices()[row]
-           -1);
-
       // get the global index of the first
       // non-diagonal element in this row
       Assert (this->cols->optimize_diagonal(),  ExcNotImplemented());

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.