File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
libs/simdvec/src/main22/java/org/elasticsearch/simdvec/internal Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments