Skip to content

Commit

Permalink
Use convert instead of deprecated array
Browse files Browse the repository at this point in the history
  • Loading branch information
lejon committed Oct 11, 2016
1 parent 35bad1c commit d71ef23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/demo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if use_iris
using RDatasets
println("Using Iris dataset.")
iris = dataset("datasets","iris")
X = array(iris[:,1:4])
X = float(convert(Array,iris[:,1:4]))
labels = iris[:,5]
plotname = "iris"
initial_dims = -1
Expand Down

0 comments on commit d71ef23

Please sign in to comment.