]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use ++i instead of i++.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 10 Mar 2010 00:43:49 +0000 (00:43 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 10 Mar 2010 00:43:49 +0000 (00:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@20778 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/constraint_matrix.cc

index bb59be82f22e669639c93b8a7c6cf92feef8aabe..c5c25bbee40fdb90c5c530128114583a14c4c4d2 100644 (file)
@@ -169,7 +169,7 @@ ConstraintMatrix::add_entries (const unsigned int                        line,
 
 
 
-void ConstraintMatrix::add_selected_constraints 
+void ConstraintMatrix::add_selected_constraints
   (const ConstraintMatrix &constraints,
    const IndexSet         &filter)
 {
@@ -786,12 +786,12 @@ void ConstraintMatrix::shift (const unsigned int offset)
                      numbers::invalid_unsigned_int);
 
   for (std::vector<ConstraintLine>::iterator i = lines.begin();
-       i != lines.end(); i++)
+       i != lines.end(); ++i)
     {
       i->line += offset;
       for (std::vector<std::pair<unsigned int,double> >::iterator
             j = i->entries.begin();
-          j != i->entries.end(); j++)
+          j != i->entries.end(); ++j)
        j->first += offset;
     }
 }
@@ -2070,10 +2070,10 @@ ConstraintMatrix::distribute (TrilinosWrappers::MPI::BlockVector &vec) const
 
       Assert (mpi_comm != 0, ExcInternalError());
 
-      TrilinosWrappers::MPI::Vector vec_distribute 
+      TrilinosWrappers::MPI::Vector vec_distribute
        (my_indices.make_trilinos_map (mpi_comm->Comm(), true));
 #else
-      TrilinosWrappers::MPI::Vector vec_distribute 
+      TrilinosWrappers::MPI::Vector vec_distribute
        (my_indices.make_trilinos_map (MPI_COMM_WORLD, true));
 #endif
 

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.