diff --git a/mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala b/mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala index fa94cdfa9f271..52ae362028f5c 100644 --- a/mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala +++ b/mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala @@ -394,9 +394,6 @@ object DecisionTree extends Serializable with Logging { // shift when more than one group is used at deep tree level val groupShift = numNodes * groupIndex - // shift when more than one group is used at deep tree level - val groupShift = numNodes * groupIndex - /** Find the filters used before reaching the current code. */ def findParentFilters(nodeIndex: Int): List[Filter] = { if (level == 0) {