summaryrefslogtreecommitdiffhomepage
path: root/cv
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-09 17:14:02 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-10 03:18:58 +0100
commit7d101a1c2827b5e7a373fb0d0a68099fb692e55a (patch)
tree3489a2988806a02a9ef31760116de104f94582c6 /cv
parent674c8a9f1a42b36940551a6ebaf953ad96d379d0 (diff)
many: spring cleanup
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>;