Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-7474

Numerical issue in afw's ChebyshevBoundedFieldTestCase

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw
    • Labels:
      None
    • Templates:
    • Epic Link:
    • Team:
      Data Release Production

      Description

      Nate Lust reports a numerical issue in the afw test suite:

      ======================================================================
      FAIL: testEvaluate (__main__.ChebyshevBoundedFieldTestCase)
      Test the single-point evaluate method against explicitly-defined 1-d Chebyshevs
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "tests/testChebyshevBoundedField.py", line 110, in testEvaluate
          self.assertFloatsAlmostEqual(z1, z2, rtol=1E-13)
        File "/Users/timj/work/lsstsw3/stack/DarwinX86/utils/12.0-9-gf85c792/python/lsst/utils/tests.py", line 641, in assertFloatsAlmostEqual
          testCase.assertFalse(failed, msg="\n".join(errMsg))
      AssertionError: True is not false : 1/50 elements differ with rtol=1e-13, atol=2.220446049250313e-16
      0.00367933486006 != 0.00367933486006 (diff=4.4408920985e-16/0.00367933486006=1.20698231268e-13)
       
      ----------------------------------------------------------------------
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jmeyers314 Joshua Meyers
                Reporter:
                swinbank John Swinbank
                Reviewers:
                John Swinbank
                Watchers:
                Fred Moolekamp, Hsin-Fang Chiang, Jim Bosch, John Swinbank, Nate Lust, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel