@@ -992,8 +992,7 @@ def get_mu_lam_phi(mu, lam, phi):
992
992
return mu , lam , lam / mu
993
993
994
994
raise ValueError (
995
- "Wald distribution must specify either mu only, "
996
- "mu and lam, mu and phi, or lam and phi."
995
+ "Wald distribution must specify either mu only, mu and lam, mu and phi, or lam and phi."
997
996
)
998
997
999
998
def logp (value , mu , lam , alpha ):
@@ -1603,8 +1602,7 @@ def dist(cls, kappa=None, mu=None, b=None, q=None, *args, **kwargs):
1603
1602
def get_kappa (cls , kappa = None , q = None ):
1604
1603
if kappa is not None and q is not None :
1605
1604
raise ValueError (
1606
- "Incompatible parameterization. Either use "
1607
- "kappa or q to specify the distribution."
1605
+ "Incompatible parameterization. Either use kappa or q to specify the distribution."
1608
1606
)
1609
1607
elif q is not None :
1610
1608
if isinstance (q , Variable ):
@@ -3483,7 +3481,7 @@ def get_nu_b(cls, nu, b, sigma):
3483
3481
elif nu is not None and b is None :
3484
3482
b = nu / sigma
3485
3483
return nu , b , sigma
3486
- raise ValueError ("Rice distribution must specify either nu" " or b." )
3484
+ raise ValueError ("Rice distribution must specify either nu or b." )
3487
3485
3488
3486
def support_point (rv , size , nu , sigma ):
3489
3487
nu_sigma_ratio = - (nu ** 2 ) / (2 * sigma ** 2 )
0 commit comments