You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2017/05/06 14:57:04 UTC
[jira] [Resolved] (ARROW-939) Fix division by zero for
zero-dimensional Tensors
[ https://issues.apache.org/jira/browse/ARROW-939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney resolved ARROW-939.
--------------------------------
Resolution: Fixed
Issue resolved by pull request 634
[https://github.com/apache/arrow/pull/634]
> 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)