projects
/
lilypond.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f25327
)
tune down time factor for output distance further
author
Han-Wen Nienhuys
<hanwen@xs4all.nl>
Wed, 24 Jan 2007 02:01:09 +0000
(
03:01
+0100)
committer
Han-Wen Nienhuys
<hanwen@xs4all.nl>
Wed, 24 Jan 2007 02:01:09 +0000
(
03:01
+0100)
buildscripts/output-distance.py
patch
|
blob
|
history
diff --git
a/buildscripts/output-distance.py
b/buildscripts/output-distance.py
index e56b1e477de1e044df67092e2269aa19428aabd5..ebc8395f6253c591c10bfc4eabfa327a252f8ead 100644
(file)
--- a/
buildscripts/output-distance.py
+++ b/
buildscripts/output-distance.py
@@
-508,12
+508,12
@@
class ProfileFileLink (FileCompareLink):
note_info, self.contents[oldnew])
dist = 0.0
- factor = {'time':
2
.0 ,
+ factor = {'time':
1
.0 ,
'cells': 5.0,
}
for k in ('time', 'cells'):
- real_val = math.tan (self.get_ratio (k) * 0.5* math.pi)
+ real_val = math.tan (self.get_ratio (k) * 0.5
* math.pi)
dist += math.exp (math.fabs (real_val) * factor[k]) - 1
dist = min (dist, 100)