]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use ++k, not ++k, in a specific test. 2994/head
authorDavid Wells <wellsd2@rpi.edu>
Sun, 21 Aug 2016 18:07:57 +0000 (14:07 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Thu, 25 Aug 2016 21:46:43 +0000 (17:46 -0400)
This test says that it tests the preincrement version of the operator.

tests/bits/chunk_sparse_matrix_iterator_10.cc

index 4063825d0fcd297b944cd691c954f9dce94f7c65..bfc69768f6f101cddc70cde7a5d62a263e5f402f 100644 (file)
@@ -42,7 +42,7 @@ void test (const unsigned int chunk_size)
 
   // and loop over the elements of it
   for (ChunkSparseMatrix<double>::const_iterator k=A.begin();
-       k!=A.end(); ++k)
+       k!=A.end(); k++)
     deallog << k->row() << ' ' << k->column() << ' ' << k->value()
             << std::endl;
 }

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.