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

Align SharedArray constructor with other Array constructors #29046

Closed
nilshg opened this issue Sep 5, 2018 · 1 comment
Closed

Align SharedArray constructor with other Array constructors #29046

nilshg opened this issue Sep 5, 2018 · 1 comment

Comments

@nilshg
Copy link
Sponsor Contributor

nilshg commented Sep 5, 2018

Following the discussion in this issue an Array is constructed as

Array{T}(undef, shape...)

A SharedArray however is still constructed using

SharedArray{T}(shape...)

Having asked about this on the Discourse forum, @rdeits suggested aligning the SharedArray API to that of general arrays, which seems like a good idea to me.

@fredrikekre
Copy link
Member

Duplicate of #27388

@fredrikekre fredrikekre marked this as a duplicate of #27388 Sep 5, 2018
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

2 participants