diff options
author | Thomas White <taw@physics.org> | 2011-07-07 11:30:50 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:32 +0100 |
commit | f96e5b1bfc8b5f4d2d63ddc9cfa58e6c7713c158 (patch) | |
tree | eac6a5a0e8f8edc429c40409835619dd435338ec | |
parent | 22103e6f91269f241f3605d4e19608b2f08e702e (diff) |
partial_sim: Fix really obvious stupid bug
-rw-r--r-- | src/partial_sim.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c index 82f5b6de..d97189dd 100644 --- a/src/partial_sim.c +++ b/src/partial_sim.c @@ -94,6 +94,8 @@ static void calculate_partials(RefList *partial, double osf, set_redundancy(refl, 0); If = 0.0; } + } else { + If = get_intensity(rfull); } Ip = osf * p * If; |