summaryrefslogtreecommitdiff
path: root/creg/creg.cc
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-05-18 13:16:03 +0200
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-05-18 13:16:03 +0200
commit22d2f3ce5bd3fae2db9744eb66f7b8c3996265d6 (patch)
tree5cebab1bd3a0e77b108a19a786fe541cd7ce546c /creg/creg.cc
parent78a0ee61c2d2d846306b60a8ac862a2d649bcf59 (diff)
parenta70d6d3ed83a32d3cdf4bcb36a087426a4ed2c31 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'creg/creg.cc')
-rw-r--r--creg/creg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/creg/creg.cc b/creg/creg.cc
index 005ec9ac..b145ac49 100644
--- a/creg/creg.cc
+++ b/creg/creg.cc
@@ -65,7 +65,7 @@ void ReaderCB(const string& id, const SparseVector<float>& fmap, void* extra) {
if (rh.lc % 40000 == 0) { cerr << " [" << rh.lc << "]\n"; rh.flag = false; }
const unordered_map<string, unsigned>::iterator it = rh.id2ind.find(id);
if (it == rh.id2ind.end()) {
- cerr << "Unlabeled example in line " << rh.lc << endl;
+ cerr << "Unlabeled example in line " << rh.lc << " (key=" << id << ')' << endl;
abort();
}
(*rh.xy_pairs)[it->second - 1].x = fmap;