Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.

Constructor from Array{Nullable} gives eltype Nullable{Nullable} #145

Closed
Tracked by #148
nalimilan opened this issue Sep 15, 2016 · 1 comment
Closed
Tracked by #148

Constructor from Array{Nullable} gives eltype Nullable{Nullable} #145

nalimilan opened this issue Sep 15, 2016 · 1 comment

Comments

@nalimilan
Copy link
Member

Looks like Array{Nullable} isn't handled like Array{Nullable{T}}:

julia> nm = NullableArray(Nullable[Nullable() 0.0; 0.0 1.0])
2x2 NullableArrays.NullableArray{Nullable{T},2}:
 Nullable{Union{}}()  Nullable(0.0)
 Nullable(0.0)        Nullable(1.0)
@davidagold
Copy link
Contributor

Those should be consistent. And we should probably remark somewhere that the way to create a NullableArray{Nullable{T}} is by means of NullableArray{Nullable{T}}(...).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants