chiark / gitweb /
fix threading bugs and arrangements
[moebius2.git] / minimise.h
index c2e13e7b40fef83169495c5b2754fc91333c90d1..29e320795dc587e7fcebecf7b9690f7ff1f3a194 100644 (file)
@@ -13,8 +13,10 @@ void energy_init(void);
 double graph_layout_cost(const Vertices v, int section);
 void graph_layout_prepare();
 
-void compute_vertex_areas(const Vertices vertices, int section);
-void compute_edge_lengths(const Vertices vertices, int section);
+double compute_vertex_areas(const Vertices vertices, int section);
+double compute_edge_lengths(const Vertices vertices, int section);
+ /* these don't actually return anything interesting - they're just
+  * like this so they fit into the parallel/sequential scheme */
 
 extern double vertex_areas[N], vertex_mean_edge_lengths[N], edge_lengths[N][V6];