From 90d9a728872ce24d316bee2dd90b5d7f80923a31 Mon Sep 17 00:00:00 2001 From: Eric Neiva Date: Mon, 8 Jul 2024 19:07:22 +0200 Subject: [PATCH 1/2] Let pass kwargs to distributed measures --- src/CellData.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CellData.jl b/src/CellData.jl index 7d0ef0c..df0f1d5 100644 --- a/src/CellData.jl +++ b/src/CellData.jl @@ -197,9 +197,9 @@ end local_views(a::DistributedMeasure) = a.measures -function CellData.Measure(t::DistributedTriangulation,args...) +function CellData.Measure(t::DistributedTriangulation,args...;kwargs...) measures = map(t.trians) do trian - Measure(trian,args...) + Measure(trian,args...;kwargs...) end DistributedMeasure(measures,t) end From 8d212907fd9d0817d63fbd7089a9a5367ff373e4 Mon Sep 17 00:00:00 2001 From: Eric Neiva Date: Tue, 9 Jul 2024 11:14:58 +0200 Subject: [PATCH 2/2] Update NEWS.md --- NEWS.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NEWS.md b/NEWS.md index d52db39..f58c093 100644 --- a/NEWS.md +++ b/NEWS.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +### Added + +- Added keyword arguments in the signature of the constructor of `DistributedMeasure`. Since PR[#150](https://github.com/gridap/GridapDistributed.jl/pull/150). + ## [0.4.2] 2024-07-4 ### Added