summaryrefslogtreecommitdiff
path: root/content/other/pbs.cpp
diff options
context:
space:
mode:
authorGloria Mundi <gloria@gloria-mundi.eu>2024-11-16 21:17:29 +0100
committerGloria Mundi <gloria@gloria-mundi.eu>2024-11-16 21:17:29 +0100
commit1880ccb6d85c6eb79e724593457877bab431951c (patch)
tree23eddd5bd0b29b3024e170a5ef9023eda9226ab5 /content/other/pbs.cpp
parente95f59debd69ee7d45d5c966ce466d23264e1c3c (diff)
get rid of all() and sz()
Diffstat (limited to 'content/other/pbs.cpp')
-rw-r--r--content/other/pbs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/other/pbs.cpp b/content/other/pbs.cpp
index f4db2fd..e6bfeac 100644
--- a/content/other/pbs.cpp
+++ b/content/other/pbs.cpp
@@ -7,7 +7,7 @@ while (true) {
focus.emplace_back((low[i] + high[i]) / 2, i);
}}
if (focus.empty()) break;
- sort(all(focus));
+ ranges::sort(focus);
// reset simulation
for (int step = 0; auto [mid, i] : focus) {