From 0baa4a29fa7621d5ff6e4d4a2d9692bcbd6ebf5a Mon Sep 17 00:00:00 2001 From: Dustin Kumor Date: Fri, 24 Aug 2018 14:42:12 +0200 Subject: [PATCH] Corrected push_back-command argument and added a changelog file --- doc/news/changes/minor/20180824DustinKumor | 4 ++++ include/deal.II/lac/affine_constraints.templates.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 doc/news/changes/minor/20180824DustinKumor diff --git a/doc/news/changes/minor/20180824DustinKumor b/doc/news/changes/minor/20180824DustinKumor new file mode 100644 index 0000000000..e1f21785e3 --- /dev/null +++ b/doc/news/changes/minor/20180824DustinKumor @@ -0,0 +1,4 @@ +Fixed: Member function AffineConstraints::add_entries() now skippes already +existing entries. +
+(Dustin Kumor, 2018/08/24) \ No newline at end of file diff --git a/include/deal.II/lac/affine_constraints.templates.h b/include/deal.II/lac/affine_constraints.templates.h index 57845147f2..740e2d79f5 100644 --- a/include/deal.II/lac/affine_constraints.templates.h +++ b/include/deal.II/lac/affine_constraints.templates.h @@ -267,7 +267,7 @@ AffineConstraints::add_entries( } if (entry_exists == false) - line_ptr->entries.push_back(*col_val_pair); + line_ptr->entries.push_back(col_val_pair); } } -- 2.39.5