Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/graphics/ampasCTL/files/patch-lib_IlmCtlMath_CtlPointTree.h
16124 views
1
--- lib/IlmCtlMath/CtlPointTree.h.orig 2014-06-03 01:11:24 UTC
2
+++ lib/IlmCtlMath/CtlPointTree.h
3
@@ -71,6 +71,8 @@
4
#include <vector>
5
#include <algorithm>
6
7
+#include <limits>
8
+
9
namespace Ctl {
10
11
class PointTree
12
@@ -181,7 +183,7 @@ class PointTree
13
double bl = (_points[b] - _center).length2();
14
15
volatile double delta = fabs (al - bl);
16
- const double eps = 2.0 * Imath::limits<double>::epsilon();
17
+ const double eps = 2.0 * std::numeric_limits<double>::epsilon();
18
19
//
20
// Impose strict weak ordering... if the lengths are the same,
21
22