From: Wolfgang Bangerth Date: Tue, 8 May 2018 08:34:55 +0000 (+0800) Subject: Use the appropriate type to state a constant. X-Git-Tag: v9.1.0-rc1~1175^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6531%2Fhead;p=dealii.git Use the appropriate type to state a constant. Specifically, make sure that a statement also compiles if we are working with complex-valued data. --- diff --git a/include/deal.II/matrix_free/operators.h b/include/deal.II/matrix_free/operators.h index efd01dac85..d5aabda170 100644 --- a/include/deal.II/matrix_free/operators.h +++ b/include/deal.II/matrix_free/operators.h @@ -1590,7 +1590,7 @@ namespace MatrixFreeOperators const unsigned int local_size = inverse_diagonal_vector.local_size(); for (unsigned int i=0; i