diff options
Diffstat (limited to 'src/optics.c')
-rw-r--r-- | src/optics.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/optics.c b/src/optics.c index 1286490..2d28ba4 100644 --- a/src/optics.c +++ b/src/optics.c @@ -6,11 +6,7 @@ #include <gsl/gsl_integration.h> #include <gsl/gsl_errno.h> /* for gsl_strerror() */ #include <gsl/gsl_spline.h> - -/* Macro to compute the size of a static C array. - * - * See https://stackoverflow.com/questions/1598773. */ -#define LEN(x) ((sizeof(x)/sizeof(0[x]))/((size_t)(!(sizeof(x) % sizeof(0[x]))))) +#include "misc.h" /* Absorption coefficients for H2O and D2O as a function of wavelength from * SNOMAN. |