aboutsummaryrefslogtreecommitdiff
path: root/src/partial_sim.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-07-07 15:17:40 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:32 +0100
commit2c932f6cef1d273ef7f71fddd1582f9fb8bbe8d8 (patch)
treeb049b27a226669cc2cd0bf9dc5f88569101de9af /src/partial_sim.c
parentf96e5b1bfc8b5f4d2d63ddc9cfa58e6c7713c158 (diff)
Do errors properly
Diffstat (limited to 'src/partial_sim.c')
-rw-r--r--src/partial_sim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index d97189dd..96aa0c7c 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -100,6 +100,7 @@ static void calculate_partials(RefList *partial, double osf,
Ip = osf * p * If;
set_int(refl, Ip);
+ set_esd_intensity(refl, Ip/10.0);
}
}