mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 05:51:21 +08:00
Fixed assertion
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user