Skip to content

Commit 56c0841

Browse files
committed
Do not import deprecated infty
1 parent b5c15dc commit 56c0841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytensor/tensor/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def _get_vector_length_Constant(op: Op | Variable, var: Constant) -> int:
123123

124124
# isort: on
125125
# Allow accessing numpy constants from pytensor.tensor
126-
from numpy import e, euler_gamma, inf, infty, nan, newaxis, pi
126+
from numpy import e, euler_gamma, inf, nan, newaxis, pi
127127

128128
from pytensor.tensor.basic import *
129129
from pytensor.tensor.blas import batched_dot, batched_tensordot

0 commit comments

Comments
 (0)