Skip to content

Commit 05fe2cb

Browse files
committed
Removed unneeded check [skip ci]
1 parent 90ed89c commit 05fe2cb

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

pgvector/bit.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ def bit_value(v: bool) -> str:
4242
warn('expected elements to be boolean', stacklevel=2)
4343
value = value.astype(bool)
4444

45-
# for mypy
46-
assert isinstance(value, np.ndarray)
47-
4845
if value.ndim != 1:
4946
raise ValueError('expected ndim to be 1')
5047

0 commit comments

Comments
 (0)