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:
853015d
)
allow compiling spuriously with XBITS>=6
author
Ian Jackson
<ian@turbine>
Wed, 8 Oct 2008 00:16:36 +0000
(
01:16
+0100)
committer
Ian Jackson
<ian@turbine>
Wed, 8 Oct 2008 00:16:36 +0000
(
01:16
+0100)
energy.c
patch
|
blob
|
history
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)