Skip to content

Commit

Permalink
Fix eltype and compat (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
meggart authored Mar 4, 2022
1 parent 83eae58 commit 507b6cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"

[compat]
julia = "1.6"
OffsetArrays = "1"

[extras]
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Expand Down
2 changes: 1 addition & 1 deletion src/chunks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function IrregularChunks(;chunksizes)
end


struct GridChunks{N} <: AbstractArray{NTuple{N,UnitRange},N}
struct GridChunks{N} <: AbstractArray{NTuple{N,UnitRange{Int64}},N}
chunks::Tuple{Vararg{ChunkType,N}}
end
function Base.getindex(g::GridChunks{N},i::Vararg{Int, N}) where N
Expand Down

2 comments on commit 507b6cf

@meggart
Copy link
Owner Author

@meggart meggart commented on 507b6cf Mar 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/55970

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.2 -m "<description of version>" 507b6cf943d0e91a194bb00b3a23b43d81903c44
git push origin v0.3.2

Please sign in to comment.