I am afraid I have struggled to reproduce this error in a minimum example, but if the blocks if qrr < size(F, 2) are accessed on lines 181 and 236 while doing a multinomial regression with nominal or ordinal data, then this triggers an undefined variable error. This is corrected by substituting qrr for bkr on 182 and 237.
All tests still pass.
I am afraid I have struggled to reproduce this error in a minimum example, but if the blocks
if qrr < size(F, 2)
are accessed on lines 181 and 236 while doing a multinomial regression with nominal or ordinal data, then this triggers an undefined variable error. This is corrected by substitutingqrr
forbkr
on 182 and 237. All tests still pass.