]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix warning in task info scheme detection.
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 19 Apr 2018 07:30:27 +0000 (09:30 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 19 Apr 2018 07:30:27 +0000 (09:30 +0200)
include/deal.II/matrix_free/matrix_free.templates.h

index 390f0143c733c4be2450318f276fa5987ed072aa..ff26e4747b49903d6d6d4587e5ef051f3130119e 100644 (file)
@@ -695,7 +695,7 @@ void MatrixFree<dim,Number>::initialize_indices
 
       unsigned int start_nonboundary = numbers::invalid_unsigned_int;
 
-      if (task_info.scheme = internal::MatrixFreeFunctions::TaskInfo::partition_color)
+      if (task_info.scheme == internal::MatrixFreeFunctions::TaskInfo::partition_color)
         {
           // set up partitions. if we just use coloring without partitions, do
           // nothing here, assume all cells to belong to the zero partition (that

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.