From: Wolfgang Bangerth Date: Tue, 31 Oct 2017 21:46:42 +0000 (-0600) Subject: Make a piece of code work for std::complex data types. X-Git-Tag: v9.0.0-rc1~827^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72fd6eae22359685651b8b2cf479d8585efd07e2;p=dealii.git Make a piece of code work for std::complex data types. --- diff --git a/include/deal.II/lac/la_parallel_block_vector.templates.h b/include/deal.II/lac/la_parallel_block_vector.templates.h index 2086e6518e..8d266fa6df 100644 --- a/include/deal.II/lac/la_parallel_block_vector.templates.h +++ b/include/deal.II/lac/la_parallel_block_vector.templates.h @@ -830,7 +830,7 @@ namespace LinearAlgebra dealii::ExcDimensionMismatch(matrix.n(),n)); // reset the matrix - matrix = Number(); + matrix = typename FullMatrixType::value_type(0.0); set_symmetric(matrix, symmetric); if (symmetric)