slaypni / fastdtw

A Python implementation of FastDTW
MIT License
777 stars 121 forks source link

ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() #2

Closed huiyuHarvey closed 8 years ago

huiyuHarvey commented 8 years ago

line 32: the min function, i get the error as the title shown. im using Python 2.7

kind of weird.

huiyuHarvey commented 8 years ago

problem solved. It can only calculate the distance between 1D array