``array`` should be either ``ndarray`` or ``array_like``, in this case it's the latter.