openlilylib / snippets

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

Compare two values without detour #153

Closed sincere-music closed 8 years ago

sincere-music commented 8 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 8 years ago

Thanks