missing files
authorfabio <fabio@e1793c9e-67f9-0310-80fc-b846ff1f7b36>
Fri, 18 Apr 2008 09:22:26 +0000 (09:22 +0000)
committerfabio <fabio@e1793c9e-67f9-0310-80fc-b846ff1f7b36>
Fri, 18 Apr 2008 09:22:26 +0000 (09:22 +0000)
A    dyn_prog/debug_tools.cpp

git-svn-id: http://svn.tuebingen.mpg.de/ag-raetsch/projects/QPalma@8661 e1793c9e-67f9-0310-80fc-b846ff1f7b36

dyn_prog/debug_tools.cpp [new file with mode: 0644]

diff --git a/dyn_prog/debug_tools.cpp b/dyn_prog/debug_tools.cpp
new file mode 100644 (file)
index 0000000..18c7d26
--- /dev/null
@@ -0,0 +1,11 @@
+#include <cstdio>
+#include <cstdlib>
+#include "debug_tools.h"
+using namespace std;
+
+void fassert(bool exp,int line, char* file) {
+   if (! exp) {
+      printf("invalid fassert at line %d in file %s!\n",line,file);
+      exit(EXIT_FAILURE);
+   }
+}