pymc icon indicating copy to clipboard operation
pymc copied to clipboard

Resolve mypy error in mcmc.py

Open Ok3ks opened this issue 4 months ago • 16 comments

Description

Switching from list comprehension to np.fromiter converts the list to an NDArray which satisfies Mypy Type checks

Related Issue

  • [ ] Closes #
  • [ ] Related to #

Checklist

Type of change

  • [ ] New feature / enhancement
  • [ ] Bug fix
  • [ ] Documentation
  • [ ] Maintenance
  • [x] Other (please specify):

📚 Documentation preview 📚: https://pymc--7854.org.readthedocs.build/en/7854/

Ok3ks avatar Jul 17 '25 07:07 Ok3ks