diff options
| author | mzuenni <michi.zuendorf@gmail.com> | 2024-08-06 16:54:13 +0200 |
|---|---|---|
| committer | mzuenni <michi.zuendorf@gmail.com> | 2024-08-06 16:54:13 +0200 |
| commit | 19436370fb48bc0a5e356d1ba713dc39b1a35d3a (patch) | |
| tree | 42124647e993b50bc2b8af36090a0b0245a63992 /content/datastructures/dynamicConvexHull.cpp | |
| parent | d88debc398f18d4e3d1c53d221dffe3981f35e41 (diff) | |
upper case INF
Diffstat (limited to 'content/datastructures/dynamicConvexHull.cpp')
| -rw-r--r-- | content/datastructures/dynamicConvexHull.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/datastructures/dynamicConvexHull.cpp b/content/datastructures/dynamicConvexHull.cpp index dfcfe0b..27ec898 100644 --- a/content/datastructures/dynamicConvexHull.cpp +++ b/content/datastructures/dynamicConvexHull.cpp @@ -5,7 +5,7 @@ struct Line { }; struct HullDynamic : multiset<Line, less<>> { // max über Geraden - // (for doubles, use inf = 1/.0, div(a,b) = a/b) + // (for doubles, use INF = 1/.0, div(a,b) = a/b) ll div(ll a, ll b) {return a / b - ((a ^ b) < 0 && a % b);} bool isect(iterator x, iterator y) { |
