From c1e0b1a40bcab597b57130d448359a2af50c27ff Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 21 May 2023 21:07:43 +0200 Subject: [PATCH] Small update: code patch for fixing debug output --- src/db/db/dbEdgeProcessor.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/db/db/dbEdgeProcessor.cc b/src/db/db/dbEdgeProcessor.cc index b171d123e..287ee022e 100644 --- a/src/db/db/dbEdgeProcessor.cc +++ b/src/db/db/dbEdgeProcessor.cc @@ -1521,7 +1521,11 @@ get_intersections_per_band_any (std::vector &cutpoints, std::vector bool on_edge = is_point_on_exact (*cc, *wp); cc->make_cutpoints (cutpoints)->add (*wp, &cutpoints, !on_edge); #ifdef DEBUG_EDGE_PROCESSOR - printf ("intersection point %s gives strong cutpoint in %s.\n", wp->first.to_string ().c_str (), cc->to_string ().c_str ()); + if (!on_edge) { + printf ("intersection point %s gives strong cutpoint in %s.\n", wp->to_string ().c_str (), cc->to_string ().c_str ()); + } else { + printf ("intersection point %s gives weak cutpoint in %s.\n", wp->to_string ().c_str (), cc->to_string ().c_str ()); + } #endif } }