diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
commit | 7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch) | |
tree | bdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/set/ibf_sim.c | |
parent | 01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff) | |
download | gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip |
tighten formatting rules
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 |