summaryrefslogtreecommitdiff
path: root/test/geometry/closestPair.double.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/geometry/closestPair.double.cpp')
-rw-r--r--test/geometry/closestPair.double.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/geometry/closestPair.double.cpp b/test/geometry/closestPair.double.cpp
index 427fcf8..14ccd0d 100644
--- a/test/geometry/closestPair.double.cpp
+++ b/test/geometry/closestPair.double.cpp
@@ -10,7 +10,7 @@ constexpr ll INF = LL::INF;
//strict convex hull
double naive(const vector<pt>& ps) {
double opt = LL::INF;
- for (ll i = 0; i < sz(ps); i++) {
+ for (ll i = 0; i < ssize(ps); i++) {
for (ll j = 0; j < i; j++) {
opt = min(opt, norm(ps[i] - ps[j]));
}