Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since `zero(::Union{Missing,T})` calls `zero(T)` internally, we may use the same logic for `LinearAlgebra.haszero`. This helps with certain structured matrix operations: ```julia julia> M = Matrix{Union{Int,Missing}}(missing,2,2) 2×2 Matrix{Union{Missing, Int64}}: missing missing missing missing julia> triu(M) 2×2 Matrix{Union{Missing, Int64}}: missing missing 0 missing ``` whereas previously, this would have been ```julia julia> triu(M) 2×2 Matrix{Union{Missing, Int64}}: missing missing missing missing ```
- Loading branch information