From 50fa6fc1321a85458efa0fe422fde2738fbe399e Mon Sep 17 00:00:00 2001 From: "Alberto F. Martin" Date: Sun, 1 Oct 2023 19:27:57 +1100 Subject: [PATCH 1/2] Added missing _get_cell_dof_ids_inner_space() method overload --- src/Adaptivity.jl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Adaptivity.jl b/src/Adaptivity.jl index 2df02533..0045fc63 100644 --- a/src/Adaptivity.jl +++ b/src/Adaptivity.jl @@ -251,7 +251,13 @@ end function _get_cell_dof_ids_inner_space(s::FESpaceWithLinearConstraints) get_cell_dof_ids(s.space) -end +end + +# Required in order to avoid returning the results of get_cell_dof_ids(space) +# in the case of a FESpaceWithLinearConstraints wrapped around a TrialFESpace +function _get_cell_dof_ids_inner_space(s::TrialFESpace) + _get_cell_dof_ids_inner_space(s.space) +end function get_redistribute_free_values_cache(fv_new::Union{PVector,Nothing}, Uh_new::Union{DistributedSingleFieldFESpace,Nothing}, From 86faf67af2088e31640426ec9a8a0d73fc5f497e Mon Sep 17 00:00:00 2001 From: "Alberto F. Martin" Date: Sun, 1 Oct 2023 19:33:16 +1100 Subject: [PATCH 2/2] Updated NEWS.md --- NEWS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS.md b/NEWS.md index 74fe967d..03bf4169 100644 --- a/NEWS.md +++ b/NEWS.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Added + +- Added missing _get_cell_dof_ids_inner_space() method overload. Since PR[130](https://github.com/gridap/GridapDistributed.jl/pull/130). + ### Changed - Updated compat for FillArrays to v1. Since PR[127](https://github.com/gridap/GridapDistributed.jl/pull/127).