Skip to content

Commit

Permalink
Fix according to #245 in generalized likelihood function
Browse files Browse the repository at this point in the history
  • Loading branch information
thouska committed May 26, 2020
1 parent c203994 commit cf73991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spotpy/likelihoods.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ def generalizedLikelihoodFunction(data, comparedata, measerror=None, params=None
# where Y_{ht} should be the simulated model data and mu_t = exp(mu_h * Y_{ht}).
# So, mu_h is "a bias parameter to be inferred from the model." (cite, page 3, formula (3))

mu_t = np.mean(muh * comparedata)
mu_t = np.exp(muh * comparedata)

E = comparedata * mu_t

Expand Down

0 comments on commit cf73991

Please sign in to comment.