aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/scattering.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scattering.c b/src/scattering.c
index a7fa717..a1a63df 100644
--- a/src/scattering.c
+++ b/src/scattering.c
@@ -38,7 +38,7 @@ static double prob_scatter(double wavelength, void *params)
qe = get_quantum_efficiency(wavelength);
- index = get_index(HEAVY_WATER_DENSITY, wavelength, 10.0);
+ index = get_index_snoman_d2o(wavelength);
delta = (1.0/index - beta_cos_theta)/(2*beta_sin_theta_theta0);