From 72fd6eae22359685651b8b2cf479d8585efd07e2 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 31 Oct 2017 15:46:42 -0600 Subject: [PATCH] Make a piece of code work for std::complex data types. --- include/deal.II/lac/la_parallel_block_vector.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5