Skip to content

Commit

Permalink
chore: set indexing style
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaLGandhi committed Jun 5, 2024
1 parent 80a2a24 commit 314d58b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/array_partition.jl
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ function Base._maybe_reshape(::IndexCartesian,
Vector(A)
end

Base.IndexStyle(::ArrayPartition) = IndexLinear()

Check warning on line 268 in src/array_partition.jl

View check run for this annotation

Codecov / codecov/patch

src/array_partition.jl#L268

Added line #L268 was not covered by tests

## recursive methods

function recursivecopy!(A::ArrayPartition, B::ArrayPartition)
Expand Down

0 comments on commit 314d58b

Please sign in to comment.