You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are multiple (open and closed) issues about this behaviour: e.g. #1071 and linked issues.
Generally, the parameters are just treated as parameters, distinct from the type of the samples. The weird thing is Normal here which behaves differently (somehow it was changed at some point). I opened a PR a while ago that fixes these inconsistencies (#1433) but it got stuck due to some ForwardDiff weirdness. I added some motivation in the PR there for why I became convinced that generally parameters and the return type of rand should be treated separately.
MWE:
This is scary 😅
The text was updated successfully, but these errors were encountered: