Line 141 of fastdtw.py raises DeprecationWarning that Passing 1d arrays as data is deprecated in 0.17 and will raise ValueError in 0.19 because dist(...) returns numpy.array of size (1, 1).
The update just changed the line to suppress the warning/error.
…will raise ValueError in numpy 0.19
Line 141 of fastdtw.py raises DeprecationWarning that Passing 1d arrays as data is deprecated in 0.17 and will raise ValueError in 0.19 because dist(...) returns numpy.array of size (1, 1). The update just changed the line to suppress the warning/error.