@@ -992,8 +992,7 @@ def get_mu_lam_phi(mu, lam, phi):
992992 return mu , lam , lam / mu
993993
994994 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."
997996 )
998997
999998 def logp (value , mu , lam , alpha ):
@@ -1603,8 +1602,7 @@ def dist(cls, kappa=None, mu=None, b=None, q=None, *args, **kwargs):
16031602 def get_kappa (cls , kappa = None , q = None ):
16041603 if kappa is not None and q is not None :
16051604 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."
16081606 )
16091607 elif q is not None :
16101608 if isinstance (q , Variable ):
@@ -3483,7 +3481,7 @@ def get_nu_b(cls, nu, b, sigma):
34833481 elif nu is not None and b is None :
34843482 b = nu / sigma
34853483 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." )
34873485
34883486 def support_point (rv , size , nu , sigma ):
34893487 nu_sigma_ratio = - (nu ** 2 ) / (2 * sigma ** 2 )
0 commit comments