Skip to content

Commit 5454b6a

Browse files
committed
Fix typo in test variable
1 parent 92eef5e commit 5454b6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/tensor/test_math_scipy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ def test_gammainc_ddk_tabulated_values():
381381
# https://github.com/stan-dev/math/blob/21333bb70b669a1bd54d444ecbe1258078d33153/test/unit/math/prim/scal/fun/grad_reg_lower_inc_gamma_test.cpp
382382
k, x = pt.scalars("k", "x")
383383
gammainc_out = pt.gammainc(k, x)
384-
gammaincc_ddk = pt.grad(gammainc_out, k)
385-
f_grad = function([k, x], gammaincc_ddk)
384+
gammainc_ddk = pt.grad(gammainc_out, k)
385+
f_grad = function([k, x], gammainc_ddk)
386386

387387
rtol = 1e-5 if config.floatX == "float64" else 1e-2
388388
atol = 1e-10 if config.floatX == "float64" else 1e-6

0 commit comments

Comments
 (0)