Changes in src/sas/sascalc/invariant/invariant.py [dbfd307:574adc7] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/invariant/invariant.py
rdbfd307 r574adc7 344 344 else: 345 345 A = np.vstack([linearized_data.x / linearized_data.dy, 1.0 / linearized_data.dy]).T 346 # CRUFT: numpy>=1.14.0 allows rcond=None for the following default 347 rcond = np.finfo(float).eps * max(A.shape) 348 p, residuals, _, _ = np.linalg.lstsq(A, linearized_data.y / linearized_data.dy, 349 rcond=rcond) 346 (p, residuals, _, _) = np.linalg.lstsq(A, linearized_data.y / linearized_data.dy) 350 347 351 348 # Get the covariance matrix, defined as inv_cov = a_transposed * a
Note: See TracChangeset
for help on using the changeset viewer.