diff options
author | MilesCranmer <miles.cranmer@gmail.com> | 2022-06-09 20:48:45 -0400 |
---|---|---|
committer | MilesCranmer <miles.cranmer@gmail.com> | 2022-06-09 20:48:45 -0400 |
commit | 179d1575ebdf850add391db87da6b1f4d3209e3c (patch) | |
tree | 83c1bc29e64a5986891df3f00e1d2907d80c1abe /numpy/lib/arraysetops.py | |
parent | afbcdf27cd04128b1f297a9503a4bdfbccbddd28 (diff) | |
download | numpy-179d1575ebdf850add391db87da6b1f4d3209e3c.tar.gz |
MAINT: Fix linting errors in in1d tests
Diffstat (limited to 'numpy/lib/arraysetops.py')
-rw-r--r-- | numpy/lib/arraysetops.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/lib/arraysetops.py b/numpy/lib/arraysetops.py index 7597866a4..f0cc2006c 100644 --- a/numpy/lib/arraysetops.py +++ b/numpy/lib/arraysetops.py @@ -619,7 +619,8 @@ def in1d(ar1, ar2, assume_unique=False, invert=False, _slow_integer=None): ar2_range = ar2_max - ar2_min # Optimal performance is for approximately - # log10(size) > (log10(range) - 2.27) / 0.927, see discussion on + # log10(size) > (log10(range) - 2.27) / 0.927. + # See discussion on # https://github.com/numpy/numpy/pull/12065 optimal_parameters = ( np.log10(ar2_size) > |