pytensor
pytensor copied to clipboard
Rename `pytensor.tensor.math.sub` to `pytensor.tensor.math.subtract` to match array API
https://github.com/pymc-devs/pytensor/blob/82bb9642daa7514c07e233b3486bd75f85503d8c/pytensor/sparse/basic.py?plain=1#L2273
The original issue points to the sparse implementation, but we also need to rename the tensor.math implementation here:
https://github.com/pymc-devs/pytensor/blob/82bb9642daa7514c07e233b3486bd75f85503d8c/pytensor/tensor/math.py#L2879