projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae7bf7b
)
rps profiler: fix debug output
author
Julius Bünger
<buenger@mytum.de>
Wed, 11 Apr 2018 12:47:23 +0000
(14:47 +0200)
committer
Julius Bünger
<buenger@mytum.de>
Wed, 11 Apr 2018 12:47:23 +0000
(14:47 +0200)
src/rps/test_rps.c
patch
|
blob
|
history
diff --git
a/src/rps/test_rps.c
b/src/rps/test_rps.c
index fa2ffd9eb55743d7a4eb1697201c42e63e0c25ee..9ccf3e61ce3538c196826d5633474eb7c23a0a6c 100644
(file)
--- a/
src/rps/test_rps.c
+++ b/
src/rps/test_rps.c
@@
-1999,7
+1999,7
@@
static void compute_probabilities (uint32_t peer_idx)
i,
prob_push);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "\t\tposs choices from view: %
f, containing i: %f
\n",
+ "\t\tposs choices from view: %
" PRIu32 ", containing i: %" PRIu32 "
\n",
binom (view_size, 0.45 * view_size),
binom (0.45 * view_size, 1));
} else {