Skip to content

Commit

Permalink
Fix in updated gelman rubin test
Browse files Browse the repository at this point in the history
  • Loading branch information
thouska committed Sep 24, 2020
1 parent d0c7494 commit a42c26d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spotpy/parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def __init__(self, *args, **kwargs):
default is median of rndfunc(*rndargs, size=1000)
:optguess: (optional) number for start point of parameter
default is quantile(0.5) - quantile(0.4) of
rndfunc(*rndargs, size=1000)
rndfunc(*rndargs, size=1000)
"""
super(Exponential, self).__init__(rnd.exponential, 'Exponential', *args, **kwargs)

Expand Down Expand Up @@ -474,7 +474,7 @@ def __init__(self, *args, **kwargs):
default is median of rndfunc(*rndargs, size=1000)
:optguess: (optional) number for start point of parameter
default is quantile(0.5) - quantile(0.4) of
rndfunc(*rndargs, size=1000)
rndfunc(*rndargs, size=1000)
"""
super(Wald, self).__init__(rnd.wald, 'Wald', *args, **kwargs)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_analyser.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def test_plot_autocorellation(self):

def test_plot_gelman_rubin(self):
if sys.version_info >= (3, 6):
spotpy.analyser.plot_gelman_rubin(self.r_hat, fig_name =self.fig_name)
spotpy.analyser.plot_gelman_rubin(self.hymod_results, self.r_hat, fig_name =self.fig_name)
self.assertGreaterEqual(abs(os.path.getsize(self.fig_name)), 100)


Expand Down

0 comments on commit a42c26d

Please sign in to comment.