LinearEinsum: fix adjoint_times for pure transpose operations
Compare changes
Files
2+ 5
− 2
@@ -262,8 +262,11 @@ class LinearEinsum(LinearOperator):
Beginning with 2nd June, only the "Single Sign On" option for login to the GitLab web interface will be possible. If you don't have an MPCDF wide second factor so far, please get one at our SelfService (https://selfservice.mpcdf.mpg.de). The GitLab internal second factor will not work.
LinearEinsum
, when called with an empty mf
and subscripts 'ij->ji'
did calculate incorrect adjoint subscipts ',yz->zy'
, rendering its .adjoint_times
method inoperable.
Fixed this and added a test on it.
@gedenhof, could you please check if the fix is really correct?