summaryrefslogtreecommitdiffhomepage
path: root/cv
diff options
context:
space:
mode:
Diffstat (limited to 'cv')
-rw-r--r--cv/numeric.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/cv/numeric.hpp b/cv/numeric.hpp
index 4761af1d..27287c1e 100644
--- a/cv/numeric.hpp
+++ b/cv/numeric.hpp
@@ -6,11 +6,9 @@
namespace types {
using f = double;
- struct constants final
- {
- constants() = delete;
- static constexpr f eps = f(1e-8);
- };
+ namespace constants {
+ static constexpr inline f eps = f(1e-8);
+ }
template<int n> using vec = cv::Vec<f, n>;
using vec2 = vec<2>;