summaryrefslogtreecommitdiff
path: root/numpy/doc/misc.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-12-07 13:22:52 -0700
committerCharles Harris <charlesr.harris@gmail.com>2015-12-07 13:42:37 -0700
commit7b137ab0d52d95d5846f903a64207f5d6c0df17e (patch)
treee962afff0300b2f141fbee8c12da639247a2f407 /numpy/doc/misc.py
parentdb6300726ac9f73282ce8fda5588d958c0f327b4 (diff)
downloadnumpy-7b137ab0d52d95d5846f903a64207f5d6c0df17e.tar.gz
BUG: Quick and dirty fix for interp.
The original had incorrect comparisons involving <=, <, and also failed when the number of data points was 2. This fixes the use of the comparisons and uses linear search for fewer than 5 data points. The whole routine needs a simplified rewrite, but this takes care of the bug. Closes #6468.
Diffstat (limited to 'numpy/doc/misc.py')
0 files changed, 0 insertions, 0 deletions