Skip to content

Commit

Permalink
Use of Random variates in lognormal by default
Browse files Browse the repository at this point in the history
  • Loading branch information
thouska committed Oct 31, 2022
1 parent af50404 commit 4f83fed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/spotpy/parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,6 @@ class Loguniform(Base):
"""
A specialization of the Base parameter for loguniform distributions
"""

__rndargs__ = "low", "high"

def __init__(self, *args, **kwargs):
Expand All @@ -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):
"""
Expand Down

0 comments on commit 4f83fed

Please sign in to comment.