]> https://gitweb.dealii.org/ - dealii.git/commit
fix invalid operation in DynamicSparsityPattern::iterator 1185/head 1186/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 22 Jul 2015 19:42:31 +0000 (15:42 -0400)
committerTimo Heister <timo.heister@gmail.com>
Fri, 24 Jul 2015 01:51:12 +0000 (21:51 -0400)
commit10397b89d1de15f7bfd378ad573eec66d693505d
tree735f33f1cefd607709703476fdeca6c016be461a
parent2f0a6da9f82ab038c9a9feaeed01395c0df4c417
fix invalid operation in DynamicSparsityPattern::iterator

We used to compare two std::vector iterators that might belong to
different std::vectors. This is obviously illegal.

This addresses issue #1175, see
https://github.com/dealii/dealii/issues/1175

Add a test that failed (with stl debug library only).

Conflicts:

doc/news/changes.h
include/deal.II/lac/dynamic_sparsity_pattern.h
tests/bits/dynamic_sparsity_pattern_iterator_04.cc [new file with mode: 0644]
tests/bits/dynamic_sparsity_pattern_iterator_04.output [new file with mode: 0644]

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.