diff options
Diffstat (limited to 'src/set/ibf_sim.c')
-rw-r--r-- | src/set/ibf_sim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/set/ibf_sim.c b/src/set/ibf_sim.c index 226a9d751..6415d00e1 100644 --- a/src/set/ibf_sim.c +++ b/src/set/ibf_sim.c | |||
@@ -93,8 +93,7 @@ main (int argc, char **argv) | |||
93 | get 990/1000 elements on average over 1 million runs; key | 93 | get 990/1000 elements on average over 1 million runs; key |
94 | idea being to stop short of the 'last' possible IBF as | 94 | idea being to stop short of the 'last' possible IBF as |
95 | otherwise a "lowball" per-chance would unduely influence the | 95 | otherwise a "lowball" per-chance would unduely influence the |
96 | result */ | 96 | result */if ((j > 0) && |
97 | if ((j > 0) && | ||
98 | (buckets[j - 1] > MAX_IBF_DECODE)) | 97 | (buckets[j - 1] > MAX_IBF_DECODE)) |
99 | { | 98 | { |
100 | ret *= (1 << (j + 1)); | 99 | ret *= (1 << (j + 1)); |
@@ -136,6 +135,7 @@ main (int argc, char **argv) | |||
136 | return 0; | 135 | return 0; |
137 | } | 136 | } |
138 | 137 | ||
138 | |||
139 | /* TODO: should calculate stddev of the results to also be able to | 139 | /* TODO: should calculate stddev of the results to also be able to |
140 | say something about the stability of the results, outside of | 140 | say something about the stability of the results, outside of |
141 | large-scale averages -- gaining 8% precision at the expense of | 141 | large-scale averages -- gaining 8% precision at the expense of |