Browse Source

current stable

Bjoern Froehlich 13 years ago
parent
commit
079c0a0926
1 changed files with 2 additions and 4 deletions
  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() );