From 0b6e6a4337e8e9b6728f3604bb61a59365be3446 Mon Sep 17 00:00:00 2001 From: pants Date: Thu, 8 Sep 2016 12:28:07 -0400 Subject: src/bound_set.c --- src/net_notch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/net_notch.c') diff --git a/src/net_notch.c b/src/net_notch.c index 48dce1e..ccbb387 100644 --- a/src/net_notch.c +++ b/src/net_notch.c @@ -4,7 +4,7 @@ void net_notch(net_t *net, double notch_len, cholmod_common *c) { for (uint_t i = 0; i < net->graph->ne; i++) { uint_t v1, v2; - double v1x, v1y, v2x, v2y, dx, dy; + double v1x, v1y, v2x, v2y, dy; bool crosses_center, not_wrapping, correct_length; v1 = net->graph->ev[2 * i]; @@ -15,7 +15,6 @@ void net_notch(net_t *net, double notch_len, cholmod_common *c) { v2x = net->graph->vx[2 * v2]; v2y = net->graph->vx[2 * v2 + 1]; - dx = v1x - v2x; dy = v1y - v2y; crosses_center = (v1y >= 0.5 && v2y <= 0.5) || (v1y <= 0.5 && v2y >= 0.5); -- cgit v1.2.3-70-g09d2