Hitting a weird error to do with RNGs in Scan in a custom function inside a Potential

I would err on the side of not declaring it. I don’t know exactly how it behaves and if they should be considered constants or not :slight_smile: