[ 
https://issues.apache.org/jira/browse/SPARK-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14008584#comment-14008584
 ] 

Shixiong Zhu commented on SPARK-1925:
-------------------------------------

PR: https://github.com/apache/spark/pull/879

> Typo in org.apache.spark.mllib.tree.DecisionTree.isSampleValid
> --------------------------------------------------------------
>
>                 Key: SPARK-1925
>                 URL: https://issues.apache.org/jira/browse/SPARK-1925
>             Project: Spark
>          Issue Type: Bug
>          Components: MLlib
>            Reporter: Shixiong Zhu
>            Priority: Minor
>              Labels: easyfix
>
> I believe this is a type:
>       if ((level > 0) & (parentFilters.length == 0)) {
>         return false
>       }
> Should use "&&" here.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to