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

Fix division by zero for zero-dimensional Tensors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.3.0
    • 0.4.0
    • C++
    • 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

            pcmoritz Philipp Moritz
            pcmoritz Philipp Moritz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: