Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8208

Vector.isNumericallyIdentical() can produce unexpected results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.7, 7.3, 8.0
    • modules/spatial3d
    • None
    • New

    Description

      The method Vector.isNumericallyIdentical() seems to produce wrong results in some cases. For example it considers that vectors (1,0,0) and (-1,0,0) are numerically identical whichI is probably wrong.

      This behavior might produce unexpected behaviors down the line.

       

      Attachments

        1. LUCENE-8208.patch
          1 kB
          Ignacio Vera

        Activity

          People

            kwright@metacarta.com Karl Wright
            ivera Ignacio Vera
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: