Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong behavior of default Array constructor #17

Closed
meggart opened this issue Aug 10, 2020 · 1 comment
Closed

Wrong behavior of default Array constructor #17

meggart opened this issue Aug 10, 2020 · 1 comment

Comments

@meggart
Copy link
Collaborator

meggart commented Aug 10, 2020

I do not have a reproducible example at hand, but there is a problem with using the default Array constructor on chunked AbstractDiskArrays. Adding the following method fixed the code:

function Array(a::AbstractDiskArray)
    aout = similar(a)
    aout .= a
    aout
end

but it is worth to investigate and add some unit tests when fixing this.

@meggart
Copy link
Collaborator Author

meggart commented Jan 13, 2022

Duplicate of #37 and #44

@meggart meggart closed this as completed Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant