Skip to content

Commit d11863a

Browse files
committed
fix constructor in test
1 parent f7bc2b2 commit d11863a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/zygote.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ for (op_type, A) in
2929
(AffineOperator, AffineOperator(rand(N,N), rand(N,N), rand(N,K))),
3030
(ScaledOperator, rand() * MatrixOperator(rand(N,N))),
3131
(InvertedOperator, InvertedOperator(rand(N,N) |> MatrixOperator)),
32-
(InvertibleOperator, InvertibleOperator(rand(N,N) |> MatrixOperator)),
32+
(InvertibleOperator, InvertibleOperator(MatrixOperator(M), MatrixOperator(inv(M)))),
3333
(BatchedDiagonalOperator, DiagonalOperator(rand(N,K))),
3434
(AddedOperator, MatrixOperator(rand(N,N)) + MatrixOperator(rand(N,N))),
3535
(ComposedOperator, MatrixOperator(rand(N,N)) * MatrixOperator(rand(N,N))),

0 commit comments

Comments
 (0)