Changeset 57e48ca in sasview for src/sas/sascalc/pr


Ignore:
Timestamp:
Oct 22, 2018 6: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

Location:
src/sas/sascalc/pr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/pr/fit/Loader.py

    r574adc7 r57e48ca  
     1""" 
     2class Loader  to load any kind of file 
     3""" 
     4 
    15from __future__ import print_function 
    26 
    3 # class Loader  to load any king of file 
    4 #import wx 
    5 #import string 
    67import numpy as np 
    78 
  • 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.