Issue1613: raise TypeError if array passed to filter routine is not dtype np.float64