]> git.donarmstrong.com Git - lilypond.git/commit
Fix infinite loop in Completion_heads_engraver at invalid measure position (issue...
authorDevon Schudy <dschudy@gmail.com>
Wed, 26 Mar 2014 18:58:20 +0000 (14:58 -0400)
committerDavid Kastrup <dak@gnu.org>
Fri, 4 Apr 2014 19:52:25 +0000 (21:52 +0200)
commit08c5bc3ff87e25b1b575283f91546e5f77c591a5
tree48606ea8d5fe4e80d24ddcc6b3ad474a1e604328
parent22c831de51dc2c8234e0fd9f50495798cbf3e0b1
Fix infinite loop in Completion_heads_engraver at invalid measure position (issue 3888).

* Completion_heads_engraver now gives a programming_error instead of trying to make negative-duration notes.
* intlog2 with a nonpositive argument now gives an error instead of an infinite loop.
lily/completion-note-heads-engraver.cc
lily/misc.cc