diff options
author | MilesCranmer <miles.cranmer@gmail.com> | 2022-06-10 15:52:34 -0400 |
---|---|---|
committer | MilesCranmer <miles.cranmer@gmail.com> | 2022-06-10 15:52:34 -0400 |
commit | 8e14d1af5bf1139c55e202b42a9ba78954c339c2 (patch) | |
tree | 6f882f7387d779e7d652037c7a3f4df52bf8c0f4 /numpy/lib/arraysetops.py | |
parent | 93e371f2b38fcbb68219078da6a57174d2b0d46e (diff) | |
download | numpy-8e14d1af5bf1139c55e202b42a9ba78954c339c2.tar.gz |
MAINT: Fix error message
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 44bdd0546..53a2b6e02 100644 --- a/numpy/lib/arraysetops.py +++ b/numpy/lib/arraysetops.py @@ -667,7 +667,8 @@ def in1d(ar1, ar2, assume_unique=False, invert=False, method='auto'): return outgoing_array elif method == 'dictionary': raise ValueError( - "'dictionary' method is only supported for non-integer arrays. " + "'dictionary' method is only " + "supported for boolean or integer arrays. " "Please select 'sort' or 'auto' for the method." ) |