summaryrefslogtreecommitdiff
path: root/dtrain/dtrain.h
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-26 11:36:49 +0200
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-26 11:36:49 +0200
commitfde1df3ee578564f78d7d0eac453dcb3f1740e05 (patch)
tree3d986ff73becb4b062633bc6d2a7ba946a3bc488 /dtrain/dtrain.h
parent9572d31167162955a02276c1846ae4baefa7ee53 (diff)
remove obsolete stuff
Diffstat (limited to 'dtrain/dtrain.h')
-rw-r--r--dtrain/dtrain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dtrain/dtrain.h b/dtrain/dtrain.h
index 61d60657..ac13995a 100644
--- a/dtrain/dtrain.h
+++ b/dtrain/dtrain.h
@@ -13,7 +13,7 @@
#include "filelib.h"
-//#define DTRAIN_LOCAL
+#define DTRAIN_LOCAL
#define DTRAIN_DOTS 10 // after how many inputs to display a '.'
#define DTRAIN_GRAMMAR_DELIM "########EOS########"
@@ -49,7 +49,7 @@ inline void split_in(string& s, vector<string>& parts)
unsigned e = f;
f = s.find("\t", f+1);
if (e != 0) parts.push_back(s.substr(e+1, f-e-1));
- else parts.push_back(s.substr(0, f));
+ else parts.push_back(s.substr(0, f));
}
s.erase(0, f+1);
}