From 4f83fed371100f46defa2ce481ae8d2b3e5cacbb Mon Sep 17 00:00:00 2001 From: thouska Date: Mon, 31 Oct 2022 15:01:01 +0100 Subject: [PATCH] Use of Random variates in lognormal by default --- src/spotpy/parameter.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/spotpy/parameter.py b/src/spotpy/parameter.py index 4824124d..17b2ce0d 100644 --- a/src/spotpy/parameter.py +++ b/src/spotpy/parameter.py @@ -295,7 +295,6 @@ class Loguniform(Base): """ A specialization of the Base parameter for loguniform distributions """ - __rndargs__ = "low", "high" def __init__(self, *args, **kwargs): @@ -310,7 +309,7 @@ def __init__(self, *args, **kwargs): default is quantile(0.5) - quantile(0.4) of rndfunc(*rndargs, size=1000) """ - super(Loguniform, self).__init__(loguniform, "Loguniform", *args, **kwargs) + super(Loguniform, self).__init__(loguniform.rvs, "Loguniform", *args, **kwargs) class List(Base): """