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

    https://github.com/apache/spark/pull/18899#discussion_r132437879
  
    --- Diff: mllib/src/main/scala/org/apache/spark/mllib/linalg/Vectors.scala 
---
    @@ -823,8 +831,10 @@ class SparseVector @Since("1.0.0") (
       }
     
       @Since("1.4.0")
    -  override def toSparse: SparseVector = {
    -    val nnz = numNonzeros
    +  override def toSparse: SparseVector = toSparse(numNonzeros)
    +
    +  @Since("2.3.0")
    --- End diff --
    
    Does not need Since because it is private 


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to