Skip to content

Commit

Permalink
DiagOp should now work with @view on linear operator
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianFlassbeck committed Sep 24, 2024
1 parent 7b52781 commit 2993cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DiagOp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function DiagOp(ops)
(res,y) -> (diagOpTProd(res,y,ncol,yIdx,xIdx,ops)),
(res,y) -> (diagOpCTProd(res,y,ncol,yIdx,xIdx,ops)),
0, 0, 0, false, false, false, S(undef, 0), S(undef, 0),
[ops...], false, xIdx, yIdx)
ops, false, xIdx, yIdx)

return Op
end
Expand Down

0 comments on commit 2993cbd

Please sign in to comment.