JuliaStats / NullableArrays.jl

DEPRECATED Prototype of the new JuliaStats NullableArrays package
Other
35 stars 21 forks source link

No method matching isfinite for nullable Int64 #204

Closed bhalonen closed 7 years ago

bhalonen commented 7 years ago
isfinite(Nullable(1))

returns

ERROR: MethodError: no method matching isfinite(::Nullable{Int64})
Closest candidates are:
  isfinite(::Float16) at float.jl:539
  isfinite(::BigFloat) at mpfr.jl:831
  isfinite(::LastMain.DataArrays.NAtype) at /Users/brent/.julia/v0.6/DataArrays/src/predicates.jl:10
  ...

on

julia> versioninfo()
Julia Version 0.6.0
Commit 903644385b (2017-06-19 13:05 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin13.4.0)
  CPU: Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, haswell)

version number.

  "NullableArrays"    => v"0.1.2"
bhalonen commented 7 years ago

I think this may be a Julia base issue...