]> https://gitweb.dealii.org/ - dealii.git/commit
fix invalid operation in DynamicSparsityPattern::iterator 1176/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 22 Jul 2015 19:42:31 +0000 (15:42 -0400)
committerTimo Heister <timo.heister@gmail.com>
Wed, 22 Jul 2015 19:42:31 +0000 (15:42 -0400)
commiteea7e55c97a333fece4889abee3d9a7b3dcb2a7c
tree25ae956f82dc2e8a0acce1fa36134cf21de44c5f
parentaa5e363e3bd6fadbb407a2c4f4c6ed2f2ad09c19
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).
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.