diff options
author | Thomas White <taw@physics.org> | 2014-11-10 19:09:49 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-11-10 19:09:49 +0100 |
commit | 35ab2f314a551568ca2db485bba1199bb67148f5 (patch) | |
tree | eb466c8a46935307a15bcbd1ca3fd065a7bb3357 /libcrystfel/src/stream.c | |
parent | e3135a2154b1aa1c137664030972a09e50b7f1d8 (diff) |
Fussiness
Diffstat (limited to 'libcrystfel/src/stream.c')
-rw-r--r-- | libcrystfel/src/stream.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c index 988570bc..dfa1bebe 100644 --- a/libcrystfel/src/stream.c +++ b/libcrystfel/src/stream.c @@ -266,12 +266,11 @@ static RefList *read_stream_reflections_2_3(FILE *fh, struct detector *det) double ph; char *v; struct panel *p; - float write_fs = 0; - float write_ss = 0; refl = add_refl(out, h, k, l); set_intensity(refl, intensity); if ( det != NULL ) { + double write_fs, write_ss; p = find_panel_by_name(det,pn); write_fs = fs - p->orig_min_fs + p->min_fs; write_ss = ss - p->orig_min_ss + p->min_ss; |