Skip to content

Commit

Permalink
Dont use .style for FieldVectorStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskawczynski committed Apr 3, 2024
1 parent fa66e35 commit b252ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fields/fieldvector.jl
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ function Base.Broadcast.instantiate(
Base.Broadcast.check_broadcast_axes(axes, bc.args...)
end
end
return Base.Broadcast.Broadcasted(bc.style, bc.f, bc.args, axes)
return Base.Broadcast.Broadcasted{FieldVectorStyle}(bc.f, bc.args, axes)
end

@inline function Base.copyto!(
Expand Down

0 comments on commit b252ed0

Please sign in to comment.