]> git.donarmstrong.com Git - lilypond.git/commit
Avoid floating-point compares on Stem:head_positions; issue 4310
authorKeith OHara <k-ohara5a5a@oco.net>
Wed, 11 Mar 2015 04:04:13 +0000 (21:04 -0700)
committerKeith OHara <k-ohara5a5a@oco.net>
Fri, 20 Mar 2015 03:46:40 +0000 (20:46 -0700)
commit66336fc72e87ce33e82bb604caa7049f1084f971
tree7f6652d7f5e111d900b447405ae030393a345e61
parent734ea1b5b3f38a700941c51c767d2b6a0b402c3e
Avoid floating-point compares on Stem:head_positions; issue 4310

On the cross-compiled windows executable, head_positions().is_empty()
seems to sometimes return true for a stem with a single note.
head_positions() returns something like [3.00... , 3.00...]
lily/beam.cc
lily/stem.cc