Fixed assertion

This commit is contained in:
Andrew Kane
2024-10-10 01:29:34 -07:00
parent c46f078e3c
commit f2b2040306

View File

@@ -210,7 +210,7 @@ hnswcostestimate(PlannerInfo *root, IndexPath *path, double loop_count,
*indexCorrelation = costs.indexCorrelation;
*indexPages = costs.numIndexPages;
Assert(*indexStartupCost > 0);
Assert(*indexStartupCost >= 0);
Assert(*indexTotalCost >= *indexStartupCost);
}