diff options
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/detector.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c index e8a6a80c..1897ed49 100644 --- a/libcrystfel/src/detector.c +++ b/libcrystfel/src/detector.c @@ -1784,6 +1784,10 @@ struct detector *copy_geom(const struct detector *in) } } + if ( &in->panels[i] == in->furthest_out_panel ) { + out->furthest_out_panel = &out->panels[i]; + } + } for ( i=0; i<in->n_rigid_groups; i++ ) { |