Cyclic dependencies with cross-staff beam + tie + script
I've come across a mysterious problem. Here is my MWE (checked on 2.20 and 2.23; could someone please check it on 2.24 and 2.25?):
\version "2.23.82"
<<
\new ChordNames \chordmode {
c1:sus4 f4/a deses4:7sus4/beses
}
\new PianoStaff <<
\new Staff = "right" \relative c'' {
c8 c \change Staff = "left" c c f, f f \change Staff = "right" <a f'>~| a8-> a a a a a a a
}
\new Staff = "left" { s1*2 }
>>
>>
On compilation, it yields the warning programming error: cyclic dependency: calculation-in-progress encountered for VerticalAxisGroup.adjacent-pure-heights"
and gives ugly output in which the spacing between notes is stretched to make room for each chord symbol, as if to avoid collision with the extension of the stem of the next note:
Oddly, if I make one small change, such as
- remove the accent mark
->
(shown below) - remove the tie
~
- change the chord
<a f'>
to<a a'>
or justa
then the issue goes away:
Edited by Evan O'Dorney