diff options
author | Julius Bünger <buenger@mytum.de> | 2018-09-26 00:22:41 +0200 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2018-09-26 00:23:45 +0200 |
commit | a38275062455b7991c6a8536db38a55135cefff2 (patch) | |
tree | c2421f7c323f2047ca42d225a9bb5dc6644d7bb5 /src/rps/gnunet-rps-profiler.c | |
parent | afbafd99c2b66bd3e35df763623883192cdad67d (diff) | |
download | gnunet-a38275062455b7991c6a8536db38a55135cefff2.tar.gz gnunet-a38275062455b7991c6a8536db38a55135cefff2.zip |
Change architecture of RPS service - api
Diffstat (limited to 'src/rps/gnunet-rps-profiler.c')
-rw-r--r-- | src/rps/gnunet-rps-profiler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rps/gnunet-rps-profiler.c b/src/rps/gnunet-rps-profiler.c index d2640225a..f2a8083e7 100644 --- a/src/rps/gnunet-rps-profiler.c +++ b/src/rps/gnunet-rps-profiler.c | |||
@@ -1932,8 +1932,8 @@ static uint32_t binom (uint32_t n, uint32_t k) | |||
1932 | { | 1932 | { |
1933 | //GNUNET_assert (n >= k); | 1933 | //GNUNET_assert (n >= k); |
1934 | if (k > n) return 0; | 1934 | if (k > n) return 0; |
1935 | if (0 > n) return 0; /* just for clarity - always false */ | 1935 | /* if (0 > n) return 0; - always false */ |
1936 | if (0 > k) return 0; /* just for clarity - always false */ | 1936 | /* if (0 > k) return 0; - always false */ |
1937 | if (0 == k) return 1; | 1937 | if (0 == k) return 1; |
1938 | return fac (n) | 1938 | return fac (n) |
1939 | / | 1939 | / |