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). 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},