From: David Wells Date: Thu, 10 Oct 2024 01:42:10 +0000 (-0400) Subject: FEInterfaceValues: fix some warnings. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5d8ef084ad4f84d075c73231cf672a340f5502c;p=dealii.git FEInterfaceValues: fix some warnings. Most of the std::array assignments have the correct number of brackets; this commit adds the missing ones. --- diff --git a/include/deal.II/fe/fe_interface_values.h b/include/deal.II/fe/fe_interface_values.h index 3b0b2371f7..98e2b364bb 100644 --- a/include/deal.II/fe/fe_interface_values.h +++ b/include/deal.II/fe/fe_interface_values.h @@ -2570,14 +2570,14 @@ FEInterfaceValues::reinit( for (unsigned int i = 0; i < n_dofs_per_cell_1; ++i) { interface_dof_indices[i] = numbers::invalid_dof_index; - dofmap[i] = {i, numbers::invalid_unsigned_int}; + dofmap[i] = {{i, numbers::invalid_unsigned_int}}; } for (unsigned int i = 0; i < n_dofs_per_cell_2; ++i) { interface_dof_indices[i + n_dofs_per_cell_1] = numbers::invalid_dof_index; - dofmap[i + n_dofs_per_cell_1] = {numbers::invalid_unsigned_int, i}; + dofmap[i + n_dofs_per_cell_1] = {{numbers::invalid_unsigned_int, i}}; } } }