]> https://gitweb.dealii.org/ - dealii.git/commit
Reset object to native state in IndexSet::clear(). 2524/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 20 Apr 2016 02:53:02 +0000 (21:53 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 20 Apr 2016 02:53:02 +0000 (21:53 -0500)
commitff8a0fb360dd7d4908e54ddec755977e8d585848
treef2f981f86cce7a0bda458d786df81470fdf71589
parent296810b98ae98b616919844689a861295f73f10f
Reset object to native state in IndexSet::clear().

IndexSet stores an index into an array. Upon construction, this index is set
to an invalid value (because the array is empty), whereas after IndexSet::clear()
the index was set to zero -- a perfectly reasonable, and consequently objectionable
index. This patch sets the index to an invalid value instead, as is also
done in the constructor.
include/deal.II/base/index_set.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.