squiggle.c

Self-contained Monte Carlo estimation in C99
Log | Files | Refs | README

commit 7efa6b60715eb058405c02a8d9bfca21dd8b5fdd
parent d84b92cec2f7e754c8d7e9ef65f5c2c7dc8fa923
Author: NunoSempere <nuno.sempere@protonmail.com>
Date:   Sat,  9 Dec 2023 18:05:45 +0000

tweak header to document UNUSED a bit more

Diffstat:
Msquiggle.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/squiggle.h b/squiggle.h @@ -30,7 +30,7 @@ double array_std(double* array, int length); // Mixture function double sample_mixture(double (*samplers[])(uint64_t*), double* weights, int n_dists, uint64_t* seed); -// Trick to mute unused variable warning. Useful for nested functions +// Macro to mute "unused variable" warning when -Wall -Wextra is enabled. Useful for nested functions #define UNUSED(x) (void)(x) #endif