Skip to content

Commit 7947642

Browse files
committed
iter
1 parent df928a4 commit 7947642

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libs/simdvec/src/main22/java/org/elasticsearch/simdvec/internal/MemorySegmentES92Int7VectorsScorer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ public final class MemorySegmentES92Int7VectorsScorer extends ES92Int7VectorsSco
3434

3535
static {
3636
// default to platform supported bitsize
37-
final int VECTOR_BITSIZE = VectorShape.preferredShape().vectorBitSize();
38-
FLOAT_SPECIES = VectorSpecies.of(float.class, VectorShape.forBitSize(VECTOR_BITSIZE));
39-
INT_SPECIES = VectorSpecies.of(int.class, VectorShape.forBitSize(VECTOR_BITSIZE));
37+
final int vectorBitSize = VectorShape.preferredShape().vectorBitSize();
38+
FLOAT_SPECIES = VectorSpecies.of(float.class, VectorShape.forBitSize(vectorBitSize));
39+
INT_SPECIES = VectorSpecies.of(int.class, VectorShape.forBitSize(vectorBitSize));
4040
}
4141

4242
private final MemorySegment memorySegment;

0 commit comments

Comments
 (0)