Skip to content

Commit

Permalink
Fix axis option in Diag test
Browse files Browse the repository at this point in the history
  • Loading branch information
frankong committed Oct 30, 2019
1 parent 31e013e commit b0889d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_linop.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def test_Diag(self):
I = linop.Identity(shape)
x = util.randn([5, 6])

A = linop.Diag([I, I], axis=1)
A = linop.Diag([I, I], iaxis=1, oaxis=1)
npt.assert_allclose(A(x), x)
self.check_linop_linear(A)
self.check_linop_adjoint(A)
Expand Down

0 comments on commit b0889d1

Please sign in to comment.