From 09c3e307ae5d34b71f9bfa55435adb084c5c1304 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 29 Nov 2021 20:25:24 -0700 Subject: [PATCH] Use a simpler way to clear a vector. --- include/deal.II/matrix_free/face_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/matrix_free/face_info.h b/include/deal.II/matrix_free/face_info.h index 9e8a1b0e97..5c23961f02 100644 --- a/include/deal.II/matrix_free/face_info.h +++ b/include/deal.II/matrix_free/face_info.h @@ -142,7 +142,7 @@ namespace internal void clear() { - faces = std::vector>(); + faces.clear(); cell_and_face_to_plain_faces.reinit(TableIndices<3>(0, 0, 0)); cell_and_face_boundary_id.reinit(TableIndices<3>(0, 0, 0)); } -- 2.39.5