Sample_prior_predictive() failing based solely on `samples` parameter

It does seems there is some kind of shape problem, @lucianopaz do you have some idea?