Skip to content

Commit

Permalink
Seed test_generic_solve_to_solve_triangular
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoV94 committed Jul 22, 2023
1 parent 0bfe6d2 commit 673c1ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/tensor/rewriting/test_linalg.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ def test_generic_solve_to_solve_triangular():
b2 = solve(U, x)
f = pytensor.function([A, x], b1)

X = np.random.normal(size=(10, 10)).astype(config.floatX)
rng = np.random.default_rng(97)
X = rng.normal(size=(10, 10)).astype(config.floatX)
X = X @ X.T
X_chol = np.linalg.cholesky(X)
eye = np.eye(10, dtype=config.floatX)
Expand Down

0 comments on commit 673c1ac

Please sign in to comment.