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 b878f41 commit 01c5c89Copy full SHA for 01c5c89
README.md
@@ -133,7 +133,7 @@ matches = index.search(vector, 10)
133
134
assert matches[0].key == 42
135
assert matches[0].distance <= 0.001
136
-assert np.allclose(index[42], vector)
+assert np.allclose(index[42], vector, atol=0.1) # Ensure high tolerance in mixed-precision comparisons
137
```
138
139
More settings are always available, and the API is designed to be as flexible as possible.
0 commit comments