From bf60d08d517e7887417f0aa4068b726a8c749e58 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Mon, 25 Mar 2019 19:29:25 -0500 Subject: update rayleigh scattering calculation This commit updates the optics code to calculate the rayleigh scattering length using the Einstein-Smoluchowski formula instead of using the effective rayleigh scattering lengths from the RSPR bank. --- src/fit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fit.c') diff --git a/src/fit.c b/src/fit.c index 4674e3d..92584aa 100644 --- a/src/fit.c +++ b/src/fit.c @@ -6044,7 +6044,7 @@ int main(int argc, char **argv) goto err; } - if (optics_init(db)) { + if (optics_init()) { fprintf(stderr, "failed to initialize optics: %s\n", optics_err); goto err; } -- cgit