From 314d58b4bebf273e0f5af7fae460f7ea6317df44 Mon Sep 17 00:00:00 2001 From: DhairyaLGandhi Date: Wed, 5 Jun 2024 20:09:42 +0530 Subject: [PATCH] chore: set indexing style --- src/array_partition.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/array_partition.jl b/src/array_partition.jl index 4857d9e5..77a52cf5 100644 --- a/src/array_partition.jl +++ b/src/array_partition.jl @@ -265,6 +265,8 @@ function Base._maybe_reshape(::IndexCartesian, Vector(A) end +Base.IndexStyle(::ArrayPartition) = IndexLinear() + ## recursive methods function recursivecopy!(A::ArrayPartition, B::ArrayPartition)