]> https://gitweb.dealii.org/ - dealii.git/commit
Fixed bug in member function AffineConstraints<number>::add_entries
authorDustin Kumor <dustin.kumor@tu-dortmund.de>
Fri, 24 Aug 2018 09:13:37 +0000 (11:13 +0200)
committerDustin Kumor <dustin.kumor@tu-dortmund.de>
Fri, 24 Aug 2018 09:52:42 +0000 (11:52 +0200)
commit9799b4760b1e9c45dd8f2eaddb598381ea024718
tree7cf0e07e1bedf89cd38c89bd8a2b0fb73cedc870
parent8b4058c747d0fb3840695aa013fdb4dfa332b200
Fixed bug in member function AffineConstraints<number>::add_entries

Although it is stated in the code comments that already existing entries
are skipped they are added nevertheless and thus lead to duplicates in
the constraint matrix. This bug was fixed by introducing a bool variable
indicating the currently treated column-value-pair to be added or not.
include/deal.II/lac/affine_constraints.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.