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.h | |
parent | 93cc3f1334294f8737dc7167f361af1209f3eaa8 (diff) |
Poisson function returns integer count - do all downstream calculations as integers
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h index bb0dd77e..31ecdf7b 100644 --- a/src/utils.h +++ b/src/utils.h @@ -69,7 +69,7 @@ extern double angle_between(double x1, double y1, double z1, extern size_t skipspace(const char *s); extern void chomp(char *s); extern void progress_bar(int val, int total, const char *text); -extern double poisson_noise(double expected); +extern int poisson_noise(double expected); /* Keep these ones inline, to avoid function call overhead */ static inline struct quaternion invalid_quaternion(void) |