Stabilize feature order in overzoom (#210)

* Stabilize feature order in overzoom

* I want my sorts to be stable, please

* Revert "[ci] test in debug mode (#202)"

This reverts commit 853ada87b5.

* No need to reinitialize here
This commit is contained in:
Erica Fischer
2024-02-29 10:39:10 -08:00
committed by GitHub
parent d9a5c2eed7
commit 312e1560a3
14 changed files with 33 additions and 26 deletions
+1 -1
View File
@@ -2704,7 +2704,7 @@ std::pair<int, metadata> read_input(std::vector<source> &sources, char *fname, i
}
}
std::sort(ddv.begin(), ddv.end());
std::stable_sort(ddv.begin(), ddv.end());
size_t i = 0;
for (int z = 0; z <= basezoom; z++) {