Skip to content

Commit 0391550

Browse files
committed
Fix typo in test variable
1 parent c4702cd commit 0391550

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
@@ -293,8 +293,8 @@ def test_gammainc_ddk_tabulated_values():
293293
# https://github.com/stan-dev/math/blob/21333bb70b669a1bd54d444ecbe1258078d33153/test/unit/math/prim/scal/fun/grad_reg_lower_inc_gamma_test.cpp
294294
k, x = pt.scalars("k", "x")
295295
gammainc_out = pt.gammainc(k, x)
296-
gammaincc_ddk = pt.grad(gammainc_out, k)
297-
f_grad = function([k, x], gammaincc_ddk)
296+
gammainc_ddk = pt.grad(gammainc_out, k)
297+
f_grad = function([k, x], gammainc_ddk)
298298

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

0 commit comments

Comments
 (0)