File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
server/src/main/java/org/elasticsearch/index/codec/vectors/cluster Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class FloatVectorValuesSlice extends FloatVectorValues {
2121 FloatVectorValuesSlice (FloatVectorValues allValues , int [] slice ) {
2222 assert slice .length <= allValues .size ();
2323 this .allValues = allValues ;
24- if (slice .length == allValues .size ()) {
24+ if (slice .length == allValues .size ()) {
2525 this .slice = null ;
2626 } else {
2727 this .slice = slice ;
@@ -34,7 +34,7 @@ class FloatVectorValuesSlice extends FloatVectorValues {
3434
3535 @ Override
3636 public float [] vectorValue (int ord ) throws IOException {
37- if (this .slice == null ) {
37+ if (this .slice == null ) {
3838 return this .allValues .vectorValue (ord );
3939 } else {
4040 return this .allValues .vectorValue (this .slice [ord ]);
@@ -48,7 +48,7 @@ public int dimension() {
4848
4949 @ Override
5050 public int size () {
51- if (slice == null ) {
51+ if (slice == null ) {
5252 return allValues .size ();
5353 } else {
5454 return slice .length ;
You can’t perform that action at this time.
0 commit comments