Skip to content

Commit 416346e

Browse files
committed
Avoid deprecation warnings
1 parent a507ea8 commit 416346e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pymc/distributions/continuous.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1626,7 +1626,7 @@ def support_point(rv, size, b, kappa, mu):
16261626
def logp(value, b, kappa, mu):
16271627
value = value - mu
16281628
res = pt.log(b / (kappa + (kappa**-1))) + (
1629-
-value * b * pt.sgn(value) * (kappa ** pt.sgn(value))
1629+
-value * b * pt.sign(value) * (kappa ** pt.sign(value))
16301630
)
16311631

16321632
return check_parameters(

pymc/distributions/moments/means.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
UniformRV,
5151
VonMisesRV,
5252
)
53-
from pytensor.tensor.var import TensorVariable
53+
from pytensor.tensor.variable import TensorVariable
5454

5555
from pymc.distributions.continuous import (
5656
AsymmetricLaplaceRV,

0 commit comments

Comments
 (0)