Closed avehtari closed 11 months ago
@SteveBronder could you take a look at this? I've tried to nail down where the demotion is happening but have a hard time finding my way around the mem pattern pass
Yes I'll take a look this week!
@avehtari this should be good now if you see any other edge cases plz lmk!!
Great! Pinging also @paul-buerkner to let him know it's fixed as this came up in brms generated code
Thank you!
Using
--O1
the following code fails to use SoA forbeta
andmu
but the following equivalent code does work (showing only the model block)
but it's not just the order of summing as following works, too
@WardBrian commented
Is there anything to be done to make the first code to use SoA, as figuring out these subtleties can be challenging for users