[ 
https://issues.apache.org/jira/browse/SPARK-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shixiong Zhu resolved SPARK-1925.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0

> 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
>             Fix For: 1.0.0
>
>
> I believe this is a typo:
> {code}
>       if ((level > 0) & (parentFilters.length == 0)) {
>         return false
>       }
> {code}
> Should use "&&" here.



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

Reply via email to