Skip to content

Commit

Permalink
Fix FieldVector broadcast inference failure
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskawczynski committed Sep 22, 2023
1 parent 5215d8d commit a256a52
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 @@ -93,7 +93,7 @@ end
BlockArrays.blockaxes(fv::FieldVector) =
(BlockArrays.BlockRange(1:length(_values(fv))),)
Base.axes(fv::FieldVector) =
(BlockArrays.blockedrange(map(length backing_array, Tuple(_values(fv)))),)
map(BlockArrays.blockedrange Base.OneTo length backing_array, Tuple(_values(fv)))

Base.@propagate_inbounds Base.getindex(
fv::FieldVector,
Expand Down

0 comments on commit a256a52

Please sign in to comment.