]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove unused variables. 6783/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sat, 16 Jun 2018 04:37:10 +0000 (22:37 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sat, 16 Jun 2018 04:37:10 +0000 (22:37 -0600)
source/lac/trilinos_sparse_matrix.cc

index f14f1c6a75ed0e74e38fcb6836b36b0bec2c1057..fe657772ef6d0225f4072c85cdbef2ae7ffb9856 100644 (file)
@@ -408,8 +408,6 @@ namespace TrilinosWrappers
       n_nonzero_elements() != rhs.n_nonzero_elements();
     if (!needs_deep_copy)
       {
-        const std::pair<size_type, size_type> local_range = rhs.local_range();
-
         // Try to copy all the rows of the matrix one by one. In case of error
         // (i.e., the column indices are different), we need to abort and blow
         // away the matrix.
@@ -1905,7 +1903,6 @@ namespace TrilinosWrappers
            ExcMessage("Addition of matrices only allowed if matrices are "
                       "filled, i.e., compress() has been called"));
 
-    const std::pair<size_type, size_type> local_range = rhs.local_range();
     const bool same_col_map = matrix->ColMap().SameAs(rhs.matrix->ColMap());
 
     for (const auto &row : locally_owned_range_indices())

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.