summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-10-22 20:12:30 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2012-10-22 20:12:30 -0400
commit172ac12e0fa224e038f04faa60984e321f73430a (patch)
treefb4445b1eb663a8074539df1718430c221a5737c
parent310e06dea1f4fd1eb1d3a8a80ee3ad57358188e1 (diff)
something to get the error surface out
-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";