Project

General

Profile

Actions

Support #7953

closed

numpy.linalg.lstsq rcond default change warning for 1.14 and above

Added by Anchi Cheng over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
08/20/2019
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.4

Description

Found in calibrationclient

FutureWarning: `rcond` parameter will change to the default of machine precision times ``max(M, N)
`` where M and N are the input matrix dimensions. 
To use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`. 
 solution = numpy.linalg.lstsq(M, v)
Actions #1

Updated by Anchi Cheng over 4 years ago

  • Status changed from Assigned to Closed

This cleaned up the warning.

Actions

Also available in: Atom PDF