diff options
author | Valerio Mariani <valerio.mariani@desy.de> | 2014-07-23 13:26:30 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-07-24 13:26:34 +0200 |
commit | 7141d24cce2edfcafae40dce6213c108798e9dc5 (patch) | |
tree | 9c8643fa25762c21f4c4a43651282dd45c8d1984 /src | |
parent | 282dee197bce06f9d37655c1775f53f6646e2e5d (diff) |
Fixes closest feature detection bug
Diffstat (limited to 'src')
-rw-r--r-- | src/dw-hdfsee.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c index f71e865c..058b05ff 100644 --- a/src/dw-hdfsee.c +++ b/src/dw-hdfsee.c @@ -1529,7 +1529,7 @@ static void numbers_update(DisplayWindow *dw) char text[64]; f = image_feature_closest(dw->image->features, ffs, fss, - &dmin, &imin); + &dmin, &imin, dw->image->det); if ( dmin < dw->ring_radius*dw->binning ) { strncpy(text, f->name, 32); } else { |