chiark
/
gitweb
/
~ian
/
moebius2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a7fd75
)
fix up bgl.cpp for topology
author
Ian Jackson
<ian@davenant.relativity.greenend.org.uk>
Tue, 1 Jan 2008 20:45:34 +0000
(20:45 +0000)
committer
Ian Jackson
<ian@davenant.relativity.greenend.org.uk>
Tue, 1 Jan 2008 20:45:34 +0000
(20:45 +0000)
bgl.cpp
patch
|
blob
|
history
diff --git
a/bgl.cpp
b/bgl.cpp
index cbe45b52d798865b2ad1ce0b7ad09218cd689ed7..193a75a97fac5eac1b901aa2afcb7ff511a572cf 100644
(file)
--- 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<<ESHIFT
], vertex_distances[N], total_cost=0;
int v1,v2,e,f;
FOR_VERTEX(v1)