Skip to content

Commit

Permalink
Merge #1366
Browse files Browse the repository at this point in the history
1366: Change Ref -> tuple in broadcasting CartesianVector r=charleskawczynski a=charleskawczynski

This PR changes Ref -> tuple in broadcasting CartesianVector, since we were having allocation issues with `Ref`.

Co-authored-by: Charles Kawczynski <[email protected]>
  • Loading branch information
bors[bot] and charleskawczynski committed Jul 12, 2023
2 parents eef71dc + 85a11eb commit b2aff76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fields/broadcast.jl
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ function Base.Broadcast.broadcasted(
fs,
V,
arg,
Ref(space.global_geometry),
tuple(space.global_geometry),
local_geometry_field(space),
)
end
Expand Down

0 comments on commit b2aff76

Please sign in to comment.