On 2022-07-27 1:41 am, Thomas Morley wrote:
I stumbled across a certain condition. In tie-column::add_tie there is
(> (car (ly:grob-spanned-column-rank-interval tie-column)) (car (ly:grob-spanned-column-rank-interval tie-column)))
How could this ever be true?

Looks to be a transcription error.  The original C++ looks like this:

////
    if (!me->get_bound (LEFT)
      || (me->get_bound (LEFT)->get_column ()->get_rank ()
          > tie->get_bound (LEFT)->get_column ()->get_rank ()))
    {
      me->set_bound (LEFT, Tie::head (tie, LEFT));
      me->set_bound (RIGHT, Tie::head (tie, RIGHT));
    }
////

The relevant conditional check is regarding the "me" grob versus the "tie" grob.


-- Aaron Hill

Reply via email to