We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ad06c9 commit 1af8860Copy full SHA for 1af8860
Java/core/src/main/java/com/amazon/randomcutforest/store/PointStore.java
@@ -821,7 +821,7 @@ public PointStore(Builder builder) {
821
822
if (builder.refCount == null) {
823
int size = (int) builder.initialPointStoreSize.orElse(dynamicResizingEnabled ? 1 : builder.capacity);
824
- currentStoreCapacity = size * dimensions;
+ currentStoreCapacity = size;
825
indexManager = new IndexManager(size);
826
startOfFreeSegment = 0;
827
refCount = new int[size];
0 commit comments