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
commit500cf9773a88993ea4fa3d17e7f886dfcf7a546e (patch)
tree160325ade7584f34b0cc639dad7795385041a86e
parent47bb0ddc2118c326f8c19ec6f5046d5f411fe363 (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";