Changeset 57e48ca in sasview


Ignore:
Timestamp:
Oct 22, 2018 6:10:45 PM (4 weeks ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, config-error, simplify-c-build, ticket-1015-quick-fix, ticket-1094-headless, ticket-1111, ticket-1205-fit-weights
Children:
ffbf35ee, fa06eb6
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.