From e90bd941a5808931e1e13696522d2ddf0b7881de Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Thu, 19 Apr 2018 09:30:27 +0200 Subject: [PATCH] Fix warning in task info scheme detection. --- include/deal.II/matrix_free/matrix_free.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5