pytensor icon indicating copy to clipboard operation
pytensor copied to clipboard

Rename `pytensor.tensor.math.sub` to `pytensor.tensor.math.subtract` to match array API

Open williambdean opened this issue 8 months ago • 1 comments

https://github.com/pymc-devs/pytensor/blob/82bb9642daa7514c07e233b3486bd75f85503d8c/pytensor/sparse/basic.py?plain=1#L2273

williambdean avatar Apr 18 '25 19:04 williambdean

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

jessegrabowski avatar Oct 16 '25 01:10 jessegrabowski