Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-939

Fix division by zero for zero-dimensional Tensors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.3.0
    • Fix Version/s: 0.4.0
    • Component/s: C++
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              pcmoritz Philipp Moritz
              Reporter:
              pcmoritz Philipp Moritz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: