Skip to content

Commit a7f361b

Browse files
williambdeanricardoV94
authored andcommitted
make default 1.0 and fix math notation in doc
1 parent 0de47bc commit a7f361b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pymc/distributions/continuous.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2727,16 +2727,16 @@ class VonMises(CircularContinuous):
27272727
27282728
Parameters
27292729
----------
2730-
mu : tensor_like of float, default 0
2730+
mu : tensor_like of float, default 0.0
27312731
Mean.
2732-
kappa : tensor_like of float
2733-
Concentration (\frac{1}{kappa} is analogous to \sigma^2).
2732+
kappa : tensor_like of float, default 1.0
2733+
Concentration (:math:`\frac{1}{\kappa}` is analogous to :math:`\sigma^2`).
27342734
"""
27352735

27362736
rv_op = vonmises
27372737

27382738
@classmethod
2739-
def dist(cls, mu=0.0, kappa=None, *args, **kwargs):
2739+
def dist(cls, mu=0.0, kappa=1.0, *args, **kwargs):
27402740
mu = at.as_tensor_variable(floatX(mu))
27412741
kappa = at.as_tensor_variable(floatX(kappa))
27422742
return super().dist([mu, kappa], *args, **kwargs)

0 commit comments

Comments
 (0)