We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bc00ca commit 130dcfbCopy full SHA for 130dcfb
AnnService/inc/Core/Common/Dataset.h
@@ -260,12 +260,15 @@ namespace SPTAG
260
{
261
if (data != nullptr) {
262
if (ownData) ALIGN_FREE(data);
263
- for (char* ptr : *incBlocks) ALIGN_FREE(ptr);
264
- incBlocks->clear();
265
}
266
-
267
rows = rows_;
+
+ for (char *ptr : *incBlocks)
268
+ ALIGN_FREE(ptr);
269
+ incBlocks->clear();
270
incRows = 0;
271
272
if (rowEnd_ >= colStart_) cols = rowEnd_;
273
else cols = cols_ * sizeof(T);
274
data = (char*)data_;
0 commit comments