Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5697#discussion_r29098644
  
    --- Diff: mllib/src/main/scala/org/apache/spark/mllib/linalg/Vectors.scala 
---
    @@ -63,13 +63,13 @@ sealed trait Vector extends Serializable {
                 Vectors.equals(0 until d1.size, d1.values, s1.indices, 
s1.values)
               case (_, _) => util.Arrays.equals(this.toArray, v2.toArray)
             }
    -      }
           case _ => false
         }
       }
     
       override def hashCode(): Int = {
         var result: Int = size + 31
    +    var i = 0
         this.foreachActive { case (index, value) =>
    --- End diff --
    
    you don't mean to have a case here do you? just a closure not partial 
function


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to