From 79cc1c443382af8c7f7d8c144c6bfeaed1722972 Mon Sep 17 00:00:00 2001 From: Jordi Manyer Date: Thu, 14 May 2026 09:53:10 +1000 Subject: [PATCH 1/2] Minor bugfix for TrialFESpace! --- src/FESpaces.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FESpaces.jl b/src/FESpaces.jl index 29465f2c..01109490 100644 --- a/src/FESpaces.jl +++ b/src/FESpaces.jl @@ -408,10 +408,10 @@ function FESpaces.TrialFESpace(fun,f::DistributedSingleFieldFESpace) end function FESpaces.TrialFESpace!(f::DistributedSingleFieldFESpace,fun) - spaces = map(f.spaces) do s + map(f.spaces) do s TrialFESpace!(s,fun) end - DistributedSingleFieldFESpace(spaces,f.gids,f.trian,f.vector_type,f.metadata) + return f end function FESpaces.TrialFESpace(f::DistributedSingleFieldFESpace,cf::DistributedCellField) From 08d40ba47ba720e4486514556c1e242b1e7a12c5 Mon Sep 17 00:00:00 2001 From: Jordi Manyer Date: Thu, 14 May 2026 09:54:27 +1000 Subject: [PATCH 2/2] Updated NEWS --- NEWS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS.md b/NEWS.md index 5d4678dd..c4020112 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] +### Fixed + +- Fixed bug in `TrialFESpace!`. Since PR[#208](https://github.com/gridap/GridapDistributed.jl/pull/208). + ## [0.4.16] - 2026-04-29 ### Fixed