From: Emden R. Gansner Date: Wed, 26 Mar 2014 21:41:09 +0000 (-0400) Subject: Back out earlier (incorrect) change e486bc3f04a537f4874578c4e063860e6fb09ba8 X-Git-Tag: 2.38.0~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f796e5cf0fa463c4fd39661f6593e13b82d7d976;p=graphviz Back out earlier (incorrect) change e486bc3f04a537f4874578c4e063860e6fb09ba8 --- diff --git a/lib/neatogen/neatoinit.c b/lib/neatogen/neatoinit.c index c0bfdaaf1..f2bbb29ec 100644 --- a/lib/neatogen/neatoinit.c +++ b/lib/neatogen/neatoinit.c @@ -787,8 +787,9 @@ static vtx_data *makeGraphData(graph_t * g, int nv, int *nedges, int mode, int m /* lengths and weights unused in reweight model */ if (model == MODEL_SUBSET) { haveLen = FALSE; - haveLen = agattr(g, AGEDGE, "len", 0) ; + haveWt = FALSE; } else { + haveLen = agattr(g, AGEDGE, "len", 0) ; haveWt = (E_weight != 0); } if (mode == MODE_HIER || mode == MODE_IPSEP)