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

Add convenience constructors #37

Closed
dlfivefifty opened this issue Nov 17, 2017 · 0 comments
Closed

Add convenience constructors #37

dlfivefifty opened this issue Nov 17, 2017 · 0 comments

Comments

@dlfivefifty
Copy link
Member

I think these should work:

julia> BlockArray{Float64}(1:10,1:10)
ERROR: MethodError: no method matching BlockArrays.BlockArray{Float64,N,R} where R<:AbstractArray{Float64,N} where N(::UnitRange{Int64}, ::UnitRange{Int64})

julia> PseudoBlockArray{Float64}(1:10,1:10)
ERROR: MethodError: no method matching BlockArrays.PseudoBlockArray{Float64,N,R} where R<:AbstractArray{Float64,N} where N(::UnitRange{Int64}, ::UnitRange{Int64})

In the first case, I suppose it should allocate the blocks.

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