Changeset dbfd307 in sasview for src/sas/sascalc/pr/invertor.py
- Timestamp:
- Mar 5, 2019 2:21:09 PM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1249
- Children:
- 7af652d
- Parents:
- 4cbb2f5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/pr/invertor.py
r2469df7 rdbfd307 473 473 474 474 # Perform the inversion (least square fit) 475 c, chi2, _, _ = lstsq(a, b) 475 # CRUFT: numpy>=1.14.0 allows rcond=None for the following default 476 rcond = np.finfo(float).eps * max(a.shape) 477 c, chi2, _, _ = lstsq(a, b, rcond=rcond) 476 478 # Sanity check 477 479 try:
Note: See TracChangeset
for help on using the changeset viewer.