Commit 395db9e7 authored by Gregory Kramida's avatar Gregory Kramida

Fix sign() macro redefinition compile-time error

parent eada2205
...@@ -54,8 +54,6 @@ namespace cv ...@@ -54,8 +54,6 @@ namespace cv
//TODO based on the original implementation //TODO based on the original implementation
//http://vision.ucsd.edu/~bbabenko/project_miltrack.shtml //http://vision.ucsd.edu/~bbabenko/project_miltrack.shtml
#define sign(s) ((s > 0 ) ? 1 : ((s<0) ? -1 : 0))
class ClfOnlineStump; class ClfOnlineStump;
class CV_EXPORTS ClfMilBoost class CV_EXPORTS ClfMilBoost
......
...@@ -42,6 +42,8 @@ ...@@ -42,6 +42,8 @@
#include "precomp.hpp" #include "precomp.hpp"
#include "opencv2/tracking/onlineMIL.hpp" #include "opencv2/tracking/onlineMIL.hpp"
#define sign(s) ((s > 0 ) ? 1 : ((s<0) ? -1 : 0))
template<class T> class SortableElementRev template<class T> class SortableElementRev
{ {
public: public:
......
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