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

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@WarrenWeckesser

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.
66ae521
@rgommers
SciPy member

Looks good, can be committed.

@WarrenWeckesser

Commit:6542a8c034b5211ed3f426d2f2b562c9f92786a6

Thanks, Ralf.

@rgommers
SciPy member

Thank you for fixing it!

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

@WarrenWeckesser

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

@rgommers
SciPy member

great

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