We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50fac76 commit 92bb02aCopy full SHA for 92bb02a
pgvector/bit.py
@@ -15,7 +15,7 @@ def __init__(self, value):
15
value = np.asarray(value)
16
17
if value.dtype != np.bool:
18
- # allow result of np.unpackbits
+ # skip warning for result of np.unpackbits
19
if value.dtype != np.uint8 or np.any(value > 1):
20
warn('expected elements to be boolean', stacklevel=2)
21
value = value.astype(bool)
0 commit comments