5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
13 lines
372 B
Diff
13 lines
372 B
Diff
--- a/pykalman/utils.py
|
|
+++ b/pykalman/utils_copy.py
|
|
@@ -40,6 +40,10 @@
|
|
from scipy import linalg
|
|
|
|
|
|
+# monkey patch
|
|
+if not hasattr(inspect, 'getargspec'):
|
|
+ inspect.getargspec = inspect.getfullargspec
|
|
+
|
|
def array1d(X, dtype=None, order=None):
|
|
"""Returns at least 1-d array with data from X"""
|
|
return np.asarray(np.atleast_1d(X), dtype=dtype, order=order)
|