瀏覽代碼

current stable

Bjoern Froehlich 13 年之前
父節點
當前提交
079c0a0926
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      classifier/vclassifier/VCDTSVM.cpp

+ 2 - 4
classifier/vclassifier/VCDTSVM.cpp

@@ -6,7 +6,7 @@
 //#include "core/imagedisplay/ImageDisplay.h"
 #include "core/basics/StringTools.h"
 
-#undef WRITE
+#define WRITE
 
 using namespace OBJREC;
 
@@ -119,9 +119,7 @@ ClassificationResult VCDTSVM::classify ( const NICE::Vector & x ) const
     }
   }
   return ClassificationResult ( bclass, scores );
-#endif
-
-#ifndef WRITE
+#else
   int c2 = ( *counter ) [0];
   ( *counter ) [0]++;
   FullVector tmp ( results[c2].size() );