]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid some strange error message with gcc snapshot 2.97/20001002
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 6 Oct 2000 09:24:16 +0000 (09:24 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 6 Oct 2000 09:24:16 +0000 (09:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@3378 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 6b9a1a7b6e13dd038067293cdcf5f2fd795e88be..28d7b2a07502a85149d27e7cb0c525aff18be6f4 100644 (file)
@@ -144,8 +144,8 @@ void ConstraintMatrix::close ()
                                         // make sure that
                                         // entry->first is not the
                                         // index of a line itself
-       const ConstraintLine test_line = { entry->first,
-                                          vector<pair<unsigned int,double> >() };
+       ConstraintLine test_line;
+       test_line.line = entry->first;
        const vector<ConstraintLine>::const_iterator
          test_line_position = lower_bound (lines.begin(),
                                            lines.end(),

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.