1-D argument validation for spatial.distance functions (ticket 1328) #33

wants to merge 1 commit into


None yet

2 participants


See the discussion at http://projects.scipy.org/scipy/ticket/1328 for more information.

Warren Weckesser BUG: spatial:
* Improved validation of the arguments to the spatial functions, so that only "1-D-like" arrays are accepted.
* Simplified some of the distance computations.
* Cleaned up the code a bit.
* Added tests.
This commit should fix ticket #1328.
SciPy member

Looks good, can be committed.



Thanks, Ralf.

SciPy member

Thank you for fixing it!

Question: are you still planning to review the discrete state space / LTI system pull request?


Yes--I'm slowly working my way through my scipy "to do" list, and Jeff's pull request is on it.

SciPy member


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment