Changeset 57e48ca in sasview for src/sas/sascalc/pr/invertor.py


Ignore:
Timestamp:
Oct 22, 2018 4:10:45 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249
Children:
1342f6a
Parents:
3e6829d
Message:

fix rcond requires float error in pr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/pr/invertor.py

    r3e6829d r57e48ca  
    474474 
    475475        # Perform the inversion (least square fit) 
    476         c, chi2, _, _ = lstsq(a, b, rcond=None) 
     476        c, chi2, _, _ = lstsq(a, b, rcond=-1) 
    477477        # Sanity check 
    478478        try: 
Note: See TracChangeset for help on using the changeset viewer.