]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Compress the result of complete_index_set().
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 25 Jun 2017 01:32:02 +0000 (19:32 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 25 Jun 2017 01:32:02 +0000 (19:32 -0600)
include/deal.II/base/index_set.h

index 6a5e153197b5dd1918f75fc5a797e05219c8ca4a..cbf0022a4a9a19d68cbfa170ba0d4a839ac27d45 100644 (file)
@@ -887,6 +887,7 @@ IndexSet complete_index_set (const unsigned int N)
 {
   IndexSet is (N);
   is.add_range(0, N);
+  is.compress();
   return is;
 }
 

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.