Skip to content

Commit 92bb02a

Browse files
committed
Updated comment [skip ci]
1 parent 50fac76 commit 92bb02a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgvector/bit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(self, value):
1515
value = np.asarray(value)
1616

1717
if value.dtype != np.bool:
18-
# allow result of np.unpackbits
18+
# skip warning for result of np.unpackbits
1919
if value.dtype != np.uint8 or np.any(value > 1):
2020
warn('expected elements to be boolean', stacklevel=2)
2121
value = value.astype(bool)

0 commit comments

Comments
 (0)