From eaee40f5f31add74fa39fdd2fc0772db74c92f3e Mon Sep 17 00:00:00 2001 From: Stefan Schippers Date: Thu, 17 Sep 2020 09:08:09 +0200 Subject: [PATCH] remove dbg messages --- src/findnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/findnet.c b/src/findnet.c index 28612495..27715334 100644 --- a/src/findnet.c +++ b/src/findnet.c @@ -255,7 +255,7 @@ void find_closest_element(double mx,double my) { /* tmp=pow(mx-inst_ptr[i].x0, 2)+pow(my-inst_ptr[i].y0, 2); */ tmp=pow(mx-(inst_ptr[i].xx1 + inst_ptr[i].xx2)/2, 2)+pow(my-(inst_ptr[i].yy1 + inst_ptr[i].yy2)/2, 2); - dbg(0, "i=%d, xx1=%g, yy1=%g, xx2=%g, yy2=%g\n", i, inst_ptr[i].xx1, inst_ptr[i].yy1, inst_ptr[i].xx2, inst_ptr[i].yy2); + /* dbg(0, "i=%d, xx1=%g, yy1=%g, xx2=%g, yy2=%g\n", i, inst_ptr[i].xx1, inst_ptr[i].yy1, inst_ptr[i].xx2, inst_ptr[i].yy2); */ if(tmp*0.1 < distance) { r = i; distance = tmp*0.1;