Skip to content

Commit

Permalink
fixing weird multiline bug
Browse files Browse the repository at this point in the history
  • Loading branch information
manishamde committed Jul 15, 2014
1 parent afced16 commit c8428c4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -606,8 +606,8 @@ object DecisionTree extends Serializable with Logging {
val arrIndex = arrShift + featureIndex
// Update the left or right count for one bin.
val aggShift = numClasses * numBins * numFeatures * nodeIndex
val aggIndex = aggShift + numClasses * featureIndex * numBins
+ arr(arrIndex).toInt * numClasses
val aggIndex
= aggShift + numClasses * featureIndex * numBins + arr(arrIndex).toInt * numClasses
val labelInt = label.toInt
agg(aggIndex + labelInt) = agg(aggIndex + labelInt) + 1
}
Expand Down

0 comments on commit c8428c4

Please sign in to comment.