We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea4a372 commit 27a4a3dCopy full SHA for 27a4a3d
tests/link/pytorch/test_slinalg.py
@@ -21,7 +21,5 @@ def test_batched_mvnormal_logp_and_dlogp(cov_batch_shape):
21
22
chol_cov = cholesky(cov, lower=True, on_error="raise")
23
24
- fn = pytensor.function([cov], [chol_cov])
25
- assert np.all(
26
- np.isclose(fn(test_values, mode="PYTORCH"), np.linalg.cholesky(test_values))
27
- )
+ fn = pytensor.function([cov], [chol_cov], mode="PYTORCH")
+ assert np.all(np.isclose(fn(test_values), np.linalg.cholesky(test_values)))
0 commit comments