Skip to content

Commit

Permalink
Merge pull request #150 from ericneiva/pass_kwargs_to_distributed_mea…
Browse files Browse the repository at this point in the history
…sures

Let pass kwargs to distributed measures
  • Loading branch information
JordiManyer authored Jul 9, 2024
2 parents 8f3c6b1 + 8d21290 commit b6a516c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/CellData.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b6a516c

Please sign in to comment.