aboutsummaryrefslogtreecommitdiff
path: root/src/fit.c
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-03-25 19:29:25 -0500
committertlatorre <tlatorre@uchicago.edu>2019-03-25 19:29:25 -0500
commitbf60d08d517e7887417f0aa4068b726a8c749e58 (patch)
tree30425882b75dc154e406457fa70e55f359085c8d /src/fit.c
parent40e79187eb1037966fc723291936b96b7847f4fb (diff)
downloadsddm-bf60d08d517e7887417f0aa4068b726a8c749e58.tar.gz
sddm-bf60d08d517e7887417f0aa4068b726a8c749e58.tar.bz2
sddm-bf60d08d517e7887417f0aa4068b726a8c749e58.zip
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.
Diffstat (limited to 'src/fit.c')
-rw-r--r--src/fit.c2
1 files changed, 1 insertions, 1 deletions
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;
}