]> https://gitweb.dealii.org/ - dealii.git/commit
fix uninitialized members in SparseMatrixEZ 1999/head
authorTimo Heister <timo.heister@gmail.com>
Mon, 21 Dec 2015 05:42:56 +0000 (00:42 -0500)
committerTimo Heister <timo.heister@gmail.com>
Mon, 21 Dec 2015 05:43:10 +0000 (00:43 -0500)
commit6756084cef1fdb0dbf3fa52dba6133c5bcc29d55
treee2d9f2e4056e52705477a231654e48b41e44087b
parenta04bbac094b363c23b8e24af9656ffb89aa55efc
fix uninitialized members in SparseMatrixEZ

An uninitialized member would cause random crashes in
tests/lac/sparse_matrices_ez as documented by valgrind:

==31301== Conditional jump or move depends on uninitialised value(s)
==31301==    at 0xB0C4614:
dealii::SparseMatrixEZ<float>::reinit(unsigned int, unsigned int,
unsigned int, unsigned int, unsigned int) (stl_vector.h:666)
==31301==    by 0x40F45C: main (sparse_matrix_ez.h:1400)
include/deal.II/lac/sparse_matrix_ez.h
include/deal.II/lac/sparse_matrix_ez.templates.h

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.