From: Wolfgang Bangerth Date: Fri, 27 Oct 2017 22:40:06 +0000 (-0600) Subject: Use appropriate data types to allow complex-valued vectors. X-Git-Tag: v9.0.0-rc1~860^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5345%2Fhead;p=dealii.git Use appropriate data types to allow complex-valued vectors. --- diff --git a/include/deal.II/fe/fe_tools_interpolate.templates.h b/include/deal.II/fe/fe_tools_interpolate.templates.h index cd28ff0180..744b39d12b 100644 --- a/include/deal.II/fe/fe_tools_interpolate.templates.h +++ b/include/deal.II/fe/fe_tools_interpolate.templates.h @@ -641,7 +641,7 @@ namespace FETools FullMatrix matrix(n2,n1); get_projection_matrix(dof1.get_fe(), dof2.get_fe(), matrix); - u2 = 0; + u2 = typename OutVector::value_type(0.); while (cell2 != end) { cell1->get_dof_values(u1, u1_local);