From a5d8ef084ad4f84d075c73231cf672a340f5502c Mon Sep 17 00:00:00 2001 From: David Wells Date: Wed, 9 Oct 2024 21:42:10 -0400 Subject: [PATCH] FEInterfaceValues: fix some warnings. Most of the std::array assignments have the correct number of brackets; this commit adds the missing ones. --- include/deal.II/fe/fe_interface_values.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}}; } } } -- 2.39.5