diff options
author | Thomas White <taw@physics.org> | 2015-02-12 13:08:56 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-02-12 14:08:33 +0100 |
commit | f1e542a3fca875327d9cc6679b713490c97893e1 (patch) | |
tree | add6de5102e90ae6f7573f0b7381363092e17f24 /libcrystfel | |
parent | da8c80b69867d04440a4f9ede36817eaca355e4b (diff) |
Fussiness
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/detector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c index a0de3be9..ea923fe7 100644 --- a/libcrystfel/src/detector.c +++ b/libcrystfel/src/detector.c @@ -558,13 +558,13 @@ void fill_in_values(struct detector *det, struct hdfile *f, struct event* ev) if ( p->clen_from != NULL ) { - if (det->path_dim !=0 || det->dim_dim !=0 ){ p->clen = get_ev_based_value(f, p->clen_from, ev) * 1.0e-3; } else { p->clen = get_value(f, p->clen_from) * 1.0e-3; } + } p->clen += p->coffset; |