chiark
/
gitweb
/
~ian
/
moebius2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
allow compiling spuriously with XBITS>=6
[moebius2.git]
/
energy.c
diff --git
a/energy.c
b/energy.c
index 930a9d58a1de886473bc59e403dcc03d77c27486..368abc4b29f78621cd707056a0ac99aec01fc726 100644
(file)
--- a/
energy.c
+++ b/
energy.c
@@
-59,7
+59,7
@@
static const CostContribution costs[]= {
COST( 1e18, noncircular_rim_cost)
#endif
-#if XBITS
==5
+#if XBITS
>=5 /* nonsense follows but never mind */
#define STOP_EPSILON 1e-6
COST( 3e5, line_bending_cost)
COST( 10e2, edge_length_variation_cost)