]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/spacing-spanner.cc
* lily/spacing-spanner.cc (musical_column_spacing): set
[lilypond.git] / lily / spacing-spanner.cc
index 5aca1009612d5ffd9a3ac2fc80147a9faaad8000..9c48aaec0a0a384413db2d6e35ada1cd3af3e549 100644 (file)
@@ -332,8 +332,21 @@ Spacing_spanner::musical_column_spacing (Grob *me,
 
       if (compound_note_space < 0 || wish_count == 0)
        {
+         /*
+           Fixed should be 0.0. If there are no spacing wishes, we're
+           likely dealing with polyphonic spacing of hemiolas.
+           
+           We used to have compound_fixed_note_space = options->increment_
+
+           but this can lead to numeric instability problems when we
+           do
+           
+              inverse_strength = (compound_note_space - compound_fixed_note_space)
+      
+         */
+         
          compound_note_space = base_note_space;
-         compound_fixed_note_space = options->increment_;
+         compound_fixed_note_space = 0.0;
        }
       else if (to_boolean (me->get_property ("average-spacing-wishes")))
        {