pymc-devs / pytensor

PyTensor allows you to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays.
https://pytensor.readthedocs.io
Other
345 stars 102 forks source link

Remove reimplementation of `np.testing.assert_allclose` #551

Open ricardoV94 opened 10 months ago

ricardoV94 commented 10 months ago

https://github.com/pymc-devs/pytensor/blob/9df55cc6c507ea5d78f88166664ab1325d1fd30d/tests/unittest_tools.py#L280-L282

jaharvey8 commented 10 months ago

Just need to delete this function in unittest_tools and then change any remaining instances of utt.assert_allclose to np.testing.assert_allclose correct?

ricardoV94 commented 10 months ago

yup