summaryrefslogtreecommitdiff
path: root/dpmert/line_optimizer.cc
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2012-10-23 12:57:56 -0400
committerKenneth Heafield <github@kheafield.com>2012-10-23 12:57:56 -0400
commitb015577f42314efe57c1791c6d41885ef6b3487c (patch)
treed7aa12a81d452ff1d049b68e7e6b8e91e107e3c2 /dpmert/line_optimizer.cc
parent7278218f4581ed8da3dacbff9c7ff3834c292dab (diff)
parent172ac12e0fa224e038f04faa60984e321f73430a (diff)
Merge branch 'master' of github.com:redpony/cdec
Diffstat (limited to 'dpmert/line_optimizer.cc')
-rw-r--r--dpmert/line_optimizer.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/dpmert/line_optimizer.cc b/dpmert/line_optimizer.cc
index 49443fbe..9cf33502 100644
--- a/dpmert/line_optimizer.cc
+++ b/dpmert/line_optimizer.cc
@@ -56,7 +56,10 @@ double LineOptimizer::LineOptimize(
//cerr << "NEW BEST: " << pos << " (score=" << cur_best_score << ")\n";
}
// string xx = metric->DetailedScore(acc); cerr << "---- " << xx;
- // cerr << "---- s=" << sco << "\n";
+#undef SHOW_ERROR_SURFACES
+#ifdef SHOW_ERROR_SURFACES
+ cerr << "x=" << seg.x << "\ts=" << sco << "\n";
+#endif
last_boundary = seg.x;
}
// cerr << "x-boundary=" << seg.x << "\n";