]> git.donarmstrong.com Git - lilypond.git/blobdiff - misc.cc
release: 0.0.4
[lilypond.git] / misc.cc
diff --git a/misc.cc b/misc.cc
index effab35896fee3a3cfbb8a0a006e2d958ec847b4..2be0f81dd67c9530007177553bd5723542aaf5dd 100644 (file)
--- a/misc.cc
+++ b/misc.cc
@@ -26,10 +26,10 @@ const double WHOLE_SPACE = 5.0; // should be settable from input
 
   
 Real
-duration_to_idealspace(Mtime d)
+duration_to_idealspace(Mtime d, Real w)
 {
     // see  Roelofs, p. 57
-    return WHOLE_SPACE * pow(ENGRAVERS_SPACE, log2(d));
+    return w * pow(ENGRAVERS_SPACE, log2(d));
 }