Skip to content

Commit 0f98497

Browse files
committed
Revert back to using numpy's float type instead of pymc's
1 parent f9930d8 commit 0f98497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/distributions/continuous.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3341,7 +3341,7 @@ def logp(self, value):
33413341

33423342
standardized_val = (value - mu) / sigma
33433343
cdf_val = std_cdf(standardized_val - sigma / nu)
3344-
cdf_val_safe = tt.switch(tt.eq(cdf_val, 0), np.finfo(floatX).eps, cdf_val)
3344+
cdf_val_safe = tt.switch(tt.eq(cdf_val, 0), np.finfo(float).eps, cdf_val)
33453345

33463346
# This condition is suggested by exGAUS.R from gamlss
33473347
lp = tt.switch(

0 commit comments

Comments
 (0)