Skip to content

Commit 11c1c22

Browse files
Remove incorrect test
1 parent f998b60 commit 11c1c22

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/tensor/rewriting/test_linalg.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -921,14 +921,6 @@ def test_rewrite_cholesky_diag_to_sqrt_diag_not_applied():
921921
nodes = f_rewritten.maker.fgraph.apply_nodes
922922
assert any(isinstance(node.op, Cholesky) for node in nodes)
923923

924-
# Case 2 : eye is degenerate
925-
x = pt.scalar("x")
926-
y = pt.eye(1) * x
927-
z_cholesky = pt.linalg.cholesky(y)
928-
f_rewritten = function([x], z_cholesky, mode="FAST_RUN")
929-
nodes = f_rewritten.maker.fgraph.apply_nodes
930-
assert any(isinstance(node.op, Cholesky) for node in nodes)
931-
932924

933925
def test_slogdet_specialization():
934926
x, a = pt.dmatrix("x"), np.random.rand(20, 20)

0 commit comments

Comments
 (0)