Skip to content

Commit

Permalink
Remove unused type var in write_dataset(..., ::ReinterpretArray, ...) (
Browse files Browse the repository at this point in the history
  • Loading branch information
mkitti authored Mar 26, 2024
1 parent 3fe1936 commit ab76acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datasets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ function write_dataset(
memtype::Datatype,
buf::Base.ReinterpretArray,
xfer::DatasetTransferProperties=dataset.xfer
) where {T}
)
# We cannot obtain a pointer of a ReinterpretArrayin Julia 1.11 and beyond
# https://github.com/JuliaLang/julia/issues/51962
buf_copy = copy(buf)
Expand Down

0 comments on commit ab76acc

Please sign in to comment.