]> https://gitweb.dealii.org/ - dealii.git/commit
Remove some dead code. 3504/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 8 Nov 2016 02:16:10 +0000 (19:16 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 8 Nov 2016 15:25:30 +0000 (08:25 -0700)
commita6a810fa96915ea831c38f0917b1817f2f30580f
treef27ac73ee9ec4569d6e9e44e1b5ea3199cd1b413
parent00214993924b958c423943330caf56c0dc1742eb
Remove some dead code.

As the assertion at the top of the patch shows, 'starting_indices' must only have values
between 0 and N (=sparsity.n_rows()). Consequently, the loop that replaces out-of-bounds
values with numbers::invalid_size_type should never trigger. Further, the 'remove_if'
will also never do anything, and the fact that we accidentally not actually do anything
with its return value (as one should for 'remove_if') doesn't matter.
source/lac/sparsity_tools.cc

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.