Skip to content

Commit 1ab1dc3

Browse files
committed
use as_tensor_variable instead
1 parent c24e725 commit 1ab1dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tensor/rewriting/test_math.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1997,7 +1997,7 @@ def test_log_sqrt() -> None:
19971997

19981998
assert equal_computations(
19991999
[out],
2000-
[mul(np.array([[0.5]]), log(x))],
2000+
[mul(pt.as_tensor_variable([[0.5]]), log(x))],
20012001
)
20022002

20032003

0 commit comments

Comments
 (0)