We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bbfa4e commit 0417bb9Copy full SHA for 0417bb9
src/MLDatasets.jl
@@ -1,5 +1,7 @@
1
module MLDatasets
2
3
+using FixedPointNumbers: length
4
+using ColorTypes: length
5
using Requires
6
using DelimitedFiles: readdlm
7
using FixedPointNumbers, ColorTypes
@@ -53,6 +55,11 @@ include("planetoid.jl")
53
55
include("CiteSeer/CiteSeer.jl")
54
56
include("TUDataset/TUDataset.jl")
57
58
+# Julia 1.0 compatibility
59
+if !isdefined(Base, :isnothing)
60
+ isnothing(x) = x === nothing
61
+end
62
+
63
function __init__()
64
# initialize optional dependencies
65
@require ImageCore="a09fc81d-aa75-5fe9-8630-4744c3626534" begin
0 commit comments