diff options
author | Rune Zedeler <rune@lilypond.org> | 2007-07-29 08:20:24 +1000 |
---|---|---|
committer | Joe Neeman <joeneeman@gmail.com> | 2007-07-29 08:20:24 +1000 |
commit | 39e67517c7ea01fb4b728bf0c3235ed2e301f9b4 (patch) | |
tree | 46d4423dc0cfca2cc709ad9bb5d905539846ebc7 /lily/chord-tremolo-iterator.cc | |
parent | f9180593c6b22d81363f810c32924eed0c50ba49 (diff) |
Fix 386.
Fix dot and beam calculations for tremolos.
Diffstat (limited to 'lily/chord-tremolo-iterator.cc')
-rw-r--r-- | lily/chord-tremolo-iterator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lily/chord-tremolo-iterator.cc b/lily/chord-tremolo-iterator.cc index 05e56e24a5..71e206aa03 100644 --- a/lily/chord-tremolo-iterator.cc +++ b/lily/chord-tremolo-iterator.cc @@ -41,7 +41,7 @@ Chord_tremolo_iterator::get_music_list () const Rational note_dur = total_dur / Rational (elt_count * Repeated_music::repeat_count (mus)); SCM tremolo_type = scm_int2num (note_dur.den ()); - int expected_beaming_ = max (0, (intlog2 (total_dur.den ()) - 2)); + int expected_beaming_ = max (0, (intlog2 (total_dur.den ()) - intlog2 (total_dur.num () + 1) - 1)); if (elt_count == 1) { |