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

Commit

Permalink
Fix deprecation warning about isnan()
Browse files Browse the repository at this point in the history
  • Loading branch information
nalimilan committed Oct 25, 2016
1 parent 658ca22 commit 863d716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/primitives.jl
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ null entries of `X` will be reflected by null entries of the resultant
`NullableArray`.
""" ->
function Base.isnan(X::NullableArray) # -> NullableArray{Bool}
return NullableArray(isnan(X.values), copy(X.isnull))
return NullableArray(@compat(isnan.(X.values)), copy(X.isnull))
end

@doc """
Expand Down

0 comments on commit 863d716

Please sign in to comment.