Error in Black Box Likelihood Function Example with PyMC

Forgot to include my environment details:

  • python : 3.13.3
  • pytensor : 2.30.3
  • pymc : 5.22.0
  • arviz : 0.21.0
  • matplotlib-base: 3.10.3
  • scipy : 1.15.2
  • numpy : 2.2.6