]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/output-distance.py
further tunedown of speed importance
[lilypond.git] / buildscripts / output-distance.py
index e56b1e477de1e044df67092e2269aa19428aabd5..a3c4df5cbaf9ca52ee255e0a386e4d0bf6bdd512 100644 (file)
@@ -508,12 +508,13 @@ class ProfileFileLink (FileCompareLink):
                     note_info, self.contents[oldnew])
 
         dist = 0.0
-        factor = {'time': 2.0 ,
-                  'cells': 5.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)