From: Jonathan Zheng Date: Wed, 15 Jan 2020 17:32:07 +0000 (+0000) Subject: fixed indentation X-Git-Tag: stable_release_2.44.0~12^2~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a442c3edd7689037b6022c04d3474e9223d0a39;p=graphviz fixed indentation --- diff --git a/lib/neatogen/sgd.c b/lib/neatogen/sgd.c index 1004577f8..9b794c255 100644 --- a/lib/neatogen/sgd.c +++ b/lib/neatogen/sgd.c @@ -36,8 +36,8 @@ void dijkstra_single_source(graph_t *G, node_t *source, term *terms, int *offset node_t *v, *u; for (t = 0; (v = GD_neato_nlist(G)[t]); t++) { ND_dist(v) = Initial_dist; - ND_heapindex(v) = -1; - } + ND_heapindex(v) = -1; + } ND_dist(source) = 0; ND_hops(source) = 0; @@ -45,15 +45,15 @@ void dijkstra_single_source(graph_t *G, node_t *source, term *terms, int *offset edge_t *e; while ((v = neato_dequeue(G))) { - // if the target is fixed then always create a term as shortest paths are not calculated from there - // if not fixed then only create a term if the target index is lower + // if the target is fixed then always create a term as shortest paths are not calculated from there + // if not fixed then only create a term if the target index is lower if (isFixed(v) || ND_id(v)