[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r16243 - gnunet/src/nse
From: |
gnunet |
Subject: |
[GNUnet-SVN] r16243 - gnunet/src/nse |
Date: |
Wed, 27 Jul 2011 14:50:13 +0200 |
Author: bartpolot
Date: 2011-07-27 14:50:13 +0200 (Wed, 27 Jul 2011)
New Revision: 16243
Modified:
gnunet/src/nse/gnunet-service-nse.c
Log:
Do not weight the average
Modified: gnunet/src/nse/gnunet-service-nse.c
===================================================================
--- gnunet/src/nse/gnunet-service-nse.c 2011-07-27 12:49:11 UTC (rev 16242)
+++ gnunet/src/nse/gnunet-service-nse.c 2011-07-27 12:50:13 UTC (rev 16243)
@@ -312,7 +312,7 @@
{
val = htonl (size_estimate_messages[(estimate_index - i + HISTORY_SIZE)
% HISTORY_SIZE].matching_bits);
- weight = estimate_count + 1 - i;
+ weight = 1; /* was: estimate_count + 1 - i; */
temp = weight + sumweight;
q = val - mean;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r16243 - gnunet/src/nse,
gnunet <=