openlilylib / snippets

A place to store useful pieces of LilyPond code - custom functions, engravers, hacks, templates, examples etc.
Other
119 stars 39 forks source link

Compare two values without detour #153

Closed sincere-music closed 7 years ago

sincere-music commented 7 years ago

The previous code made things unnecessarily complicated by calculating the difference of the two values and comparing it to zero instead of just comparing the values.

uliska commented 7 years ago

Thanks