]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Don't reserve the right amount of space, since we usually come back to that place...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 27 Sep 2006 16:48:04 +0000 (16:48 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 27 Sep 2006 16:48:04 +0000 (16:48 +0000)
git-svn-id: https://svn.dealii.org/trunk@13968 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_constraints.cc

index c3a2a1e67ed288213e1204dea8d6a86a301770b8..278ec77cf6da7be00878a3a72e78dfc6712228fc 100644 (file)
@@ -256,8 +256,6 @@ void ConstraintMatrix::close ()
                                  constrained_line->entries[0].second *
                                  weight);
                
-               line->entries.reserve (line->entries.size() +
-                                      constrained_line->entries.size() - 1);
                for (unsigned int i=1; i<constrained_line->entries.size(); ++i)
                  line->entries
                    .push_back (std::make_pair (constrained_line->entries[i].first,

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.