IterativeSolvers.jl icon indicating copy to clipboard operation
IterativeSolvers.jl copied to clipboard

remove type conversion for tmpm tmpn in LSQR

Open ziyiyin97 opened this issue 2 years ago • 0 comments

The type conversion T seems unnecessary and will throw error especially when strict input/output types are specified for the linear operator A. For example, when A takes complex input and produces real output, x is complex, b is real, this similar(b, T, m) will make tmpm complex, which is not necessary since b is always real. Any thought? Thanks

ziyiyin97 avatar May 04 '22 02:05 ziyiyin97