]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix warning for non-const comparator 6385/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 29 Apr 2018 10:16:12 +0000 (12:16 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 29 Apr 2018 10:17:00 +0000 (12:17 +0200)
include/deal.II/matrix_free/face_setup_internal.h

index 368364ca4a053f22dcc6d24015433554b5c12c1c..8a1c71c4e4caa9e26c0f0852a562f840be1ceb8f 100644 (file)
@@ -854,7 +854,7 @@ namespace internal
     struct FaceComparator
     {
       bool operator() (const FaceToCellTopology<length> &face1,
-                       const FaceToCellTopology<length> &face2)
+                       const FaceToCellTopology<length> &face2) const
       {
         for (unsigned int i=0; i<length; ++i)
           if (face1.cells_interior[i] < face2.cells_interior[i])

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.