commit 9576e3fb96c4b600ff0953ed11e13e7d55e85f15
parent f04809e45d10a6a19f29e5fe5ce2726eb4db841b
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 14 Jan 2021 18:20:49 +0100
Fix the optprops_compute function
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/atrstm_optprops.h b/src/atrstm_optprops.h
@@ -144,7 +144,7 @@ optprops_compute
const double tmp2 = 1.e-9 * rho;
optprops->ka = tmp2 * Cabs;
optprops->ks = tmp2 * Csca;
- optprops->kext = optprops->ka + optprops->kext;
+ optprops->kext = optprops->ka + optprops->ks;
}
#endif /* ATRSTM_OPTPROPS_H */