[jira] [Updated] (SPARK-1925) Typo in org.apache.spark.mllib.tree.DecisionTree.isSampleValid
[ https://issues.apache.org/jira/browse/SPARK-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Reynold Xin updated SPARK-1925: --- Description: I believe this is a typo: {code} if ((level > 0) & (parentFilters.length == 0)) { return false } {code} Should use "&&" here. was: I believe this is a typo: if ((level > 0) & (parentFilters.length == 0)) { return false } Should use "&&" here. > 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 typo: > {code} > if ((level > 0) & (parentFilters.length == 0)) { > return false > } > {code} > Should use "&&" here. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (SPARK-1925) Typo in org.apache.spark.mllib.tree.DecisionTree.isSampleValid
[ https://issues.apache.org/jira/browse/SPARK-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shixiong Zhu updated SPARK-1925: Description: I believe this is a typo: if ((level > 0) & (parentFilters.length == 0)) { return false } Should use "&&" here. was: I believe this is a type: if ((level > 0) & (parentFilters.length == 0)) { return false } Should use "&&" here. > 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 typo: > if ((level > 0) & (parentFilters.length == 0)) { > return false > } > Should use "&&" here. -- This message was sent by Atlassian JIRA (v6.2#6252)