From: Fabian Oehlmann Date: Mon, 11 Nov 2013 10:36:37 +0000 (+0000) Subject: fix eligibility traces X-Git-Tag: initial-import-from-subversion-38251~6142 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fda486b0c477b30ad181e8e986046e23dca7a086;p=oweals%2Fgnunet.git fix eligibility traces --- diff --git a/src/ats/libgnunet_plugin_ats_ril.c b/src/ats/libgnunet_plugin_ats_ril.c index 1e1dd3022..7dcc29efd 100755 --- a/src/ats/libgnunet_plugin_ats_ril.c +++ b/src/ats/libgnunet_plugin_ats_ril.c @@ -529,7 +529,7 @@ agent_modify_eligibility (struct RIL_Peer_Agent *agent, enum RIL_E_Modification e[i] = 1; break; case RIL_E_SET: - e[i] = agent->envi->discount_variable * agent->envi->parameters.lambda; + e[i] *= agent->envi->discount_variable * agent->envi->parameters.lambda; break; case RIL_E_ZERO: e[i] = 0;