Skip to content

Commit

Permalink
minor change to version checking
Browse files Browse the repository at this point in the history
  • Loading branch information
bensadeghi committed Aug 13, 2015
1 parent 732259d commit 2d25e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DecisionTree.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export Leaf, Node, Ensemble, print_tree, depth,
majority_vote, ConfusionMatrix, confusion_matrix,
mean_squared_error, R2, _int

if VERSION >= v"0.4.0-dev+0"
if VERSION >= v"0.4.0-dev"
typealias Range1{Int} Range{Int}
_int(x) = round(Int, x)
float(x) = map(FloatingPoint, x)
Expand Down

0 comments on commit 2d25e11

Please sign in to comment.