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,