On Fri, 2 Jul 2021, Olivo Victor wrote:
I have been trying to use the Bai-Perron structural breaks tests,
and always get the following message:
The variable X is read-only*** error in function SB_GUI, line 7>
list X = !nelem(X) ? null : X
What am I doing wrong?
You're not doing anything wrong. There's an error in the function
SB_GUI which has not come to light before (since this function is
not invoked by the "sample script" for the package, which always
gets tested). We'll fix that as soon as possible.
@Jack, @Sven: you need to to lose the "const" in the parameter
specified as "const list X[null]", and/or scrap the redundant
statement
list X = !nelem(X) ? null : X
Allin