You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Philipp Moritz (JIRA)" <ji...@apache.org> on 2017/05/02 20:27:04 UTC

[jira] [Created] (ARROW-939) Fix division by zero for zero-dimensional Tensors

Philipp Moritz created ARROW-939:
------------------------------------

             Summary: Fix division by zero for zero-dimensional Tensors
                 Key: ARROW-939
                 URL: https://issues.apache.org/jira/browse/ARROW-939
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
    Affects Versions: 0.3.0
            Reporter: Philipp Moritz
            Priority: Minor


see https://github.com/ray-project/ray/issues/500

The division "remaining /= dimsize" in cpp/src/arrow/tensor.cc:45 raises a division by zero exception if dimsize = 0.

This was found by https://github.com/stephanie-wang.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)