From: Ian Jackson Date: Tue, 1 Jan 2008 20:45:34 +0000 (+0000) Subject: fix up bgl.cpp for topology X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=5d2f88ab421b71746c7dc301dd2215dc0e625fcc;p=moebius2.git fix up bgl.cpp for topology --- diff --git a/bgl.cpp b/bgl.cpp index cbe45b5..193a75a 100644 --- a/bgl.cpp +++ b/bgl.cpp @@ -190,7 +190,7 @@ double graph_layout_cost(const Vertices v, const double vertex_areas[N]) { */ static const double d2_epsilon= 1e-6; - double edge_weights[N*V6], vertex_distances[N], total_cost=0; + double edge_weights[V6<