]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Corrected push_back-command argument and added a changelog file
authorDustin Kumor <dustin.kumor@tu-dortmund.de>
Fri, 24 Aug 2018 12:42:12 +0000 (14:42 +0200)
committerDustin Kumor <dustin.kumor@tu-dortmund.de>
Fri, 24 Aug 2018 12:42:12 +0000 (14:42 +0200)
doc/news/changes/minor/20180824DustinKumor [new file with mode: 0644]
include/deal.II/lac/affine_constraints.templates.h

diff --git a/doc/news/changes/minor/20180824DustinKumor b/doc/news/changes/minor/20180824DustinKumor
new file mode 100644 (file)
index 0000000..e1f2178
--- /dev/null
@@ -0,0 +1,4 @@
+Fixed: Member function AffineConstraints::add_entries() now skippes already
+existing entries.
+<br>
+(Dustin Kumor, 2018/08/24)
\ No newline at end of file
index 57845147f26cd19b3d91c0c4beb017d32ff7b1c0..740e2d79f5591444e1bac17105a34c646e052150 100644 (file)
@@ -267,7 +267,7 @@ AffineConstraints<number>::add_entries(
           }
 
       if (entry_exists == false)
-        line_ptr->entries.push_back(*col_val_pair);
+        line_ptr->entries.push_back(col_val_pair);
     }
 }
 

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.