diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-08 12:57:41 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-09 10:49:54 +0200 |
commit | 6c8df6354c8248c0d6b7f4049b8cb3e45152a769 (patch) | |
tree | 7fca6e4f8e101d981902ba1f871266a2dc1746bd /tracker-pt | |
parent | a062b1f83fac7976fc2d444ee0b49ff1d06b42e6 (diff) |
tracker/pt: fix float <-> double promote/demote
We use the cmath version to access the "float x" overload.
Diffstat (limited to 'tracker-pt')
-rw-r--r-- | tracker-pt/point_tracker.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tracker-pt/point_tracker.cpp b/tracker-pt/point_tracker.cpp index c7947c98..abb69fa9 100644 --- a/tracker-pt/point_tracker.cpp +++ b/tracker-pt/point_tracker.cpp @@ -173,6 +173,8 @@ int PointTracker::POSIT(const PointModel& model, const PointOrder& order_, float using std::sqrt; using std::atan; + using std::cos; + using std::sin; int i=1; for (; i<MAX_ITER; ++i) |