Closed miakramer closed 2 years ago
Thanks for your report. I noticed this issue in a different context, therefore I left a comment
and a couple of tests
but only recently realized that this will still fail in "higher-order" linear maps. I believe the additions in https://github.com/JuliaLinearAlgebra/LinearMaps.jl/pull/173/files#diff-c8422fd2fc31c8d6e3ba2804f0ba3aa0a152cb50a8d7481514e891abb82dfa94
will solve the issue here. In particular, we will start to recommend to always write LinearMaps._unsafe_mul!
methods.
I've run into an issue where the instructions on creating transposes for custom linear maps are insufficient for the custom map to fully work. A MWE using the documented example of
MyFillMap
:Then,
Adding this:
Makes the example work.