Commit 89064d55 authored by reichenbach's avatar reichenbach
Browse files

[FIX] fixed numerical problem in tracking function on 32bit systems

parent 92fe817a
......@@ -25,6 +25,8 @@
#ifndef WTHREADEDTRACKINGFUNCTION_H
#define WTHREADEDTRACKINGFUNCTION_H
#include <stdint.h>
#include <vector>
#include <utility>
......@@ -45,7 +47,11 @@ class WThreadedTrackingFunctionTest; //! forward declaration
namespace wtracking // note that this is not final
{
// an epsilon value for various floating point comparisons
#define TRACKING_EPS 0.0000001
#if INTPTR_MAX == INT32_MAX
#define TRACKING_EPS 0.00001
#else
#define TRACKING_EPS 0.0000001
#endif
/**
* \class WTrackingUtility
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment