Skip to content

Commit e5657d2

Browse files
JakobAsslaenderdpo
authored andcommitted
incorporated change requests
1 parent 09d8c8a commit e5657d2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test_adjtrans.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ function test_derived_adjoint()
4141
A = rand(5, 3) + im * rand(5, 3)
4242

4343
opA = LinearOperator{eltype(A)}(size(A,1), size(A,2), false, false,
44-
(y,x) -> (mul!(y,A,x)),
45-
(x,y) -> (mul!(x,transpose(A),y)),
44+
(y,x) -> mul!(y,A,x),
45+
(x,y) -> mul!(x,transpose(A),y),
4646
nothing)
4747

4848
aopA = AdjointLinearOperator(opA)
@@ -84,9 +84,9 @@ function test_derived_transpose()
8484
A = rand(5, 3) + im * rand(5, 3)
8585

8686
opA = LinearOperator{eltype(A)}(size(A,1), size(A,2), false, false,
87-
(y,x) -> (mul!(y,A,x)),
87+
(y,x) -> mul!(y,A,x),
8888
nothing,
89-
(x,y) -> (mul!(x,adjoint(A),y)))
89+
(x,y) -> mul!(x,adjoint(A),y))
9090

9191
aopA = AdjointLinearOperator(opA)
9292
copA = ConjugateLinearOperator(opA)

0 commit comments

Comments
 (0)