From adcdec4824ddc026b9705feed1b1ebf91eec1314 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Fri, 27 Sep 2024 22:21:59 +0200 Subject: [PATCH] Fix typo in an internal class name --- .../deal.II/matrix_free/matrix_free.templates.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/deal.II/matrix_free/matrix_free.templates.h b/include/deal.II/matrix_free/matrix_free.templates.h index 51cd4c0f04..570b629a03 100644 --- a/include/deal.II/matrix_free/matrix_free.templates.h +++ b/include/deal.II/matrix_free/matrix_free.templates.h @@ -146,12 +146,12 @@ MatrixFree::create_cell_subrange_hp_by_index( namespace { - class FaceRangeCompartor + class FaceRangeComparator { public: - FaceRangeCompartor(const std::vector &fe_indices, - const bool include, - const bool only_face_type) + FaceRangeComparator(const std::vector &fe_indices, + const bool include, + const bool only_face_type) : fe_indices(fe_indices) , include(include) , only_face_type(only_face_type) @@ -639,7 +639,7 @@ MatrixFree::internal_reinit( face_info.faces.begin() + range.second, std::array{ {face_type, fe_index_interior, fe_index_exterior}}, - FaceRangeCompartor(fe_indices, false, only_face_type)) - + FaceRangeComparator(fe_indices, false, only_face_type)) - face_info.faces.begin(); return_range.second = std::lower_bound( @@ -647,7 +647,7 @@ MatrixFree::internal_reinit( face_info.faces.begin() + range.second, std::array{ {face_type, fe_index_interior, fe_index_exterior}}, - FaceRangeCompartor(fe_indices, true, only_face_type)) - + FaceRangeComparator(fe_indices, true, only_face_type)) - face_info.faces.begin(); Assert(return_range.first >= range.first && return_range.second <= range.second, @@ -739,14 +739,14 @@ MatrixFree::internal_reinit( face_info.faces.begin() + range.first, face_info.faces.begin() + range.second, std::array{{face_type, fe_index}}, - FaceRangeCompartor(fe_indices, false, only_face_type)) - + FaceRangeComparator(fe_indices, false, only_face_type)) - face_info.faces.begin(); return_range.second = std::lower_bound( face_info.faces.begin() + return_range.first, face_info.faces.begin() + range.second, std::array{{face_type, fe_index}}, - FaceRangeCompartor(fe_indices, true, only_face_type)) - + FaceRangeComparator(fe_indices, true, only_face_type)) - face_info.faces.begin(); Assert(return_range.first >= range.first && return_range.second <= range.second, -- 2.39.5