Skip to content

Commit

Permalink
Define BroadcastStyle for DataStyle and Tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskawczynski committed Jul 13, 2023
1 parent eef71dc commit f3370f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DataLayouts/broadcast.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ Base.Broadcast.BroadcastStyle(
ds::DataStyle,
) = ds

Base.Broadcast.BroadcastStyle(::Base.Broadcast.Style{Tuple}, ds::DataStyle) = ds

Base.Broadcast.BroadcastStyle(
::DataFStyle{A1},
::DataFStyle{A2},
Expand Down

0 comments on commit f3370f9

Please sign in to comment.