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 f770ccf commit e065b87Copy full SHA for e065b87
1 file changed
pgvector/bit.py
@@ -14,7 +14,7 @@ def __init__(self, value: bytes | str | list[bool] | np.ndarray[tuple[int], np.d
14
length = len(value)
15
16
if length % 8 != 0:
17
- value += '0'*(8 - (length % 8))
+ value += '0' * (8 - (length % 8))
18
19
try:
20
data = int(value, 2).to_bytes(len(value) // 8, byteorder='big')
0 commit comments