Github user StephanEwen commented on the pull request:

    https://github.com/apache/flink/pull/1021#issuecomment-131402990
  
    If the two arrays are of different lengths, should this throw an exception? 
After all, the cosine distance is not well defined then and returning 0 may 
give the impression that things are correct, when they are not.


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

Reply via email to