Skip to content

Commit 2993cbd

Browse files
DiagOp should now work with @view on linear operator
1 parent 7b52781 commit 2993cbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DiagOp.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function DiagOp(ops)
5353
(res,y) -> (diagOpTProd(res,y,ncol,yIdx,xIdx,ops)),
5454
(res,y) -> (diagOpCTProd(res,y,ncol,yIdx,xIdx,ops)),
5555
0, 0, 0, false, false, false, S(undef, 0), S(undef, 0),
56-
[ops...], false, xIdx, yIdx)
56+
ops, false, xIdx, yIdx)
5757

5858
return Op
5959
end

0 commit comments

Comments
 (0)