Browse Source

matio error testNullSpace fixed

Frank Prüfer 12 years ago
parent
commit
384dc75148
1 changed files with 10 additions and 0 deletions
  1. 10 0
      classifier/kernelclassifier/progs/testNullSpace.cpp

+ 10 - 0
classifier/kernelclassifier/progs/testNullSpace.cpp

@@ -9,6 +9,9 @@
 #include <time.h>
 
 #include "core/basics/Config.h"
+
+#ifdef NICE_USELIB_MATIO
+
 #include "core/basics/Timer.h"
 #include "core/vector/Algorithms.h"
 #include "core/vector/SparseVectorT.h"
@@ -456,3 +459,10 @@ int main (int argc, char **argv)
   
   return 0;
 }
+#else
+int main (int argc, char **argv)
+{
+  std::cerr << "MatIO library is missing in your system - this program will have no effect. " << std::endl;  
+}
+
+#endif