JuliaSmoothOptimizers / LinearOperators.jl

Linear Operators for Julia
Other
150 stars 32 forks source link

Error: type TransposeLinearOperator has no field Mv5 #214

Closed tknopp closed 2 years ago

tknopp commented 2 years ago

Hi, I am currently trying to switch to LinearOperators 2.0 and get the error

type TransposeLinearOperator has no field Mv5

in line

https://github.com/JuliaSmoothOptimizers/LinearOperators.jl/blob/main/src/adjtrans.jl#L144

What I am doing is putting a 3-args mul Operator into a vcat:

vcat operator: https://github.com/tknopp/SparsityOperators.jl/blob/LinearOperator2/src/GradientOp.jl#L15 wrapped operator (still 5 args, but when I switch to 3 args I get the error): https://github.com/tknopp/SparsityOperators.jl/blob/LinearOperator2/src/GradientOp.jl#L34

geoffroyleconte commented 2 years ago

Hi @tknopp, thank you for reporting this issue. Is it fixed with https://github.com/JuliaSmoothOptimizers/LinearOperators.jl/pull/216 ?

tknopp commented 2 years ago

Many thanks, that fixes the issue!

@dpo: Would be great to get a quick release after merging so that I can proceed porting my package.