PyLops / pylops

PyLops – A Linear-Operator Library for Python
https://pylops.readthedocs.io
GNU Lesser General Public License v3.0
431 stars 102 forks source link

fix: ensure sliding ops work with fp32 #549

Closed mrava87 closed 1 year ago

mrava87 commented 1 year ago

This PR enforces that the dtype of Op is followed by the sliding operators - so when an input in the same dtype is passed to the matvec/rmatvec methods, an output with the same dtype will be returned