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

    https://github.com/apache/spark/pull/9098#discussion_r42056374
  
    --- Diff: python/pyspark/mllib/tests.py ---
    @@ -252,6 +252,16 @@ def test_sparse_vector_indexing(self):
             for ind in [7.8, '1']:
                 self.assertRaises(TypeError, sv.__getitem__, ind)
     
    +        zeros = SparseVector(4, {})
    --- End diff --
    
    Well, It should be. I played with different implementations and I just 
wanted to be sure I didn't break anything. I can remove this if you want.       
            


---
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