summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/numeric.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-06-12 23:29:18 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-06-12 23:29:18 +0200
commitcbd441a670a4447d607d276dc604fae8a5928e3d (patch)
tree6bff8da9eb2014bf9d06c48cbc76e15dfd4a7b9c /tracker-pt/numeric.hpp
parentf5770a675ec0a716fb5f0350f4ff48f17f252105 (diff)
tracker/pt: cleanup
Also, changing "f" typedef to "float" won't break the build anymore.
Diffstat (limited to 'tracker-pt/numeric.hpp')
-rw-r--r--tracker-pt/numeric.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/numeric.hpp b/tracker-pt/numeric.hpp
index 9d37086d..c9a553f3 100644
--- a/tracker-pt/numeric.hpp
+++ b/tracker-pt/numeric.hpp
@@ -9,7 +9,7 @@ namespace types {
struct constants final
{
constants() = delete;
- static constexpr f eps = std::numeric_limits<f>::epsilon();
+ static constexpr f eps = f(1e-6);
};
template<int n> using vec = cv::Vec<f, n>;