Skip to content

Commit

Permalink
Macro main (#118)
Browse files Browse the repository at this point in the history
* fix zip syntax

* test macro on Main._DiskArray
  • Loading branch information
rafaqz authored Sep 21, 2023
1 parent c706b87 commit a475299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ end
_DiskArray(a; chunksize=size(a)) = _DiskArray(Ref(0), Ref(0), a, chunksize)

# Apply the all in one macro rather than inheriting
DiskArrays.@implement_diskarray _DiskArray
DiskArrays.@implement_diskarray Main._DiskArray

Base.size(a::_DiskArray) = size(a.parent)
DiskArrays.haschunks(::_DiskArray) = DiskArrays.Chunked()
Expand Down

0 comments on commit a475299

Please sign in to comment.