Skip to content

Commit

Permalink
Resolved squeeze(Vector,1) issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bensadeghi committed Nov 26, 2015
1 parent 2cb50b0 commit 19f6da9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/DecisionTree.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module DecisionTree

using Compat

import Base: length, convert, promote_rule, show, start, next, done
import Base: length, convert, promote_rule, show, start, next, done, squeeze

export Leaf, Node, Ensemble, print_tree, depth,
build_stump, build_tree, prune_tree, apply_tree, nfoldCV_tree,
Expand All @@ -19,6 +19,8 @@ else
_int(x) = int(x)
end

squeeze(v::Vector, i::Integer) = v

include("measures.jl")

immutable Leaf
Expand Down

0 comments on commit 19f6da9

Please sign in to comment.