From 172ac12e0fa224e038f04faa60984e321f73430a Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Mon, 22 Oct 2012 20:12:30 -0400 Subject: something to get the error surface out --- dpmert/line_optimizer.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"; -- cgit v1.2.3