diff --git a/nifty6/sugar.py b/nifty6/sugar.py index a48acca8d8e45aaa8e6b43f8ca79ed597fd4c8a5..683b970af363b757bbceadd8ec4c5eb140705b2a 100644 --- a/nifty6/sugar.py +++ b/nifty6/sugar.py @@ -260,10 +260,10 @@ def from_random(domain, random_type='normal', dtype=np.float64, **kwargs): Parameters ---------- - random_type : 'pm1', 'normal', or 'uniform' - The random distribution to use. domain : Domainoid the intended domain of the output field + random_type : 'pm1', 'normal', or 'uniform' + The random distribution to use. dtype : type data type of the output field (e.g. numpy.float64) **kwargs : additional parameters for the random distribution