From a256a5248313a1074dd742f8451aa5bb2fc79063 Mon Sep 17 00:00:00 2001 From: Charles Kawczynski Date: Fri, 22 Sep 2023 11:27:27 -0700 Subject: [PATCH] Fix FieldVector broadcast inference failure --- src/Fields/fieldvector.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fields/fieldvector.jl b/src/Fields/fieldvector.jl index 7e83ecd940..0b83f47d74 100644 --- a/src/Fields/fieldvector.jl +++ b/src/Fields/fieldvector.jl @@ -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,