diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-03-25 19:29:25 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-03-25 19:29:25 -0500 |
commit | bf60d08d517e7887417f0aa4068b726a8c749e58 (patch) | |
tree | 30425882b75dc154e406457fa70e55f359085c8d /src/fit.c | |
parent | 40e79187eb1037966fc723291936b96b7847f4fb (diff) | |
download | sddm-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |