diff --git a/spotpy/likelihoods.py b/spotpy/likelihoods.py index e8e55537..dfc37a57 100644 --- a/spotpy/likelihoods.py +++ b/spotpy/likelihoods.py @@ -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