diff options
author | Thomas White <taw@physics.org> | 2009-11-27 16:10:57 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2009-11-27 16:10:57 +0100 |
commit | ef92cb3eebfb74c865cf0e10266ba8c46ffc8a9a (patch) | |
tree | 6e601f0a02cdf240ec065f71ca58a0ad31d3e76d /src/utils.c | |
parent | 93cc3f1334294f8737dc7167f361af1209f3eaa8 (diff) |
Poisson function returns integer count - do all downstream calculations as integers
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c index 9aa235a2..36ae533e 100644 --- a/src/utils.c +++ b/src/utils.c @@ -74,7 +74,7 @@ void progress_bar(int val, int total, const char *text) } -double poisson_noise(double expected) +int poisson_noise(double expected) { double L; int k = 0; |