From: Martin Kronbichler Date: Thu, 19 Apr 2018 07:30:27 +0000 (+0200) Subject: Fix warning in task info scheme detection. X-Git-Tag: v9.0.0-rc1~158^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e90bd941a5808931e1e13696522d2ddf0b7881de;p=dealii.git Fix warning in task info scheme detection. --- diff --git a/include/deal.II/matrix_free/matrix_free.templates.h b/include/deal.II/matrix_free/matrix_free.templates.h index 390f0143c7..ff26e4747b 100644 --- a/include/deal.II/matrix_free/matrix_free.templates.h +++ b/include/deal.II/matrix_free/matrix_free.templates.h @@ -695,7 +695,7 @@ void MatrixFree::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