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

Vector.isNumericallyIdentical() can produce unexpected results

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7, 7.3, 8.0
    • Component/s: modules/spatial3d
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: