You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libs/simdvec/src/main/java/org/elasticsearch/simdvec/internal/vectorization/DefaultESVectorUtilSupport.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -210,7 +210,7 @@ static float ipFloatBitImpl(float[] q, byte[] d, int start) {
210
210
* The query vector should be {@link #B_QUERY}-bit quantized and striped, so that the first {@code n} bits
211
211
* of the array are the initial bits of each of the {@code n} vector dimensions; the next {@code n}
212
212
* bits are the second bits of each of the {@code n} vector dimensions, and so on
213
-
* (this algorithm is only valid or vectors with dimensions a multiple of 8).
213
+
* (this algorithm is only valid for vectors with dimensions a multiple of 8).
214
214
* The striping is usually done by {@code BQSpaceUtils.transposeHalfByte}.
215
215
* <p>
216
216
* The data vector should be single-bit quantized.
@@ -232,8 +232,8 @@ static float ipFloatBitImpl(float[] q, byte[] d, int start) {
232
232
* The final dot product result can be obtained by observing that the sum of each stripe of {@code n} bits
233
233
* can be computed using the bit count of that stripe. Similar to
0 commit comments