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

Fix ip_diffim FutureWarning

    Details

    • Templates:
    • Story Points:
      0.5
    • Sprint:
      AP F18-2
    • Team:
      Alert Production

      Description

      After upgrading to numpy 1.14, `lsst.ip.diffim.dipoleFitTask` raises a new error:

      python/lsst/ip/diffim/dipoleFitTask.py:303: FutureWarning: `rcond` parameter will change to the default of machine precision times ``max(M, N)`` where M and N are the input matrix dimensions.
      To use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`.
      

      It was suggested by Jim Bosch that we simply set `rcond=-1`.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sullivan Ian Sullivan
                Reporter:
                sullivan Ian Sullivan
                Reviewers:
                Meredith Rawls
                Watchers:
                Ian Sullivan, Jim Bosch, John Swinbank, Meredith Rawls
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel