Seems like our check is dumb and in this case there is a cast from float to integer (since Poisson is discrete, but matmul returns a float), and PyMC thinks that’s fine. If you replace your Poisson by Normal you will see the error raised
Seems like our check is dumb and in this case there is a cast from float to integer (since Poisson is discrete, but matmul returns a float), and PyMC thinks that’s fine. If you replace your Poisson by Normal you will see the error raised