deprecation warning in numpy 1.14.0
Running tests with numpy 1.14.0 produces 475 (!) warning of this kind:
.../lib/python3.6/site-packages/kwant/linalg/lll.py:103: 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`.
coefs = np.linalg.lstsq(vecs_orig.T, vecs.T)[0]
.../lib/python3.6/site-packages/kwant/linalg/lll.py:103: 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`.
coefs = np.linalg.lstsq(vecs_orig.T, vecs.T)[0]
Should be nearly trivial to fix (the warning suggests the fix), however we should also ensure that we stay backwards-compatible.