diff options
author | Thomas White <taw@physics.org> | 2015-04-14 22:57:50 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-04-20 15:50:40 +0200 |
commit | ad25f6413156d53baa367a6ae0d5287f0a6c1e90 (patch) | |
tree | 6302e266fc56208e9f2b5929096e2822f10013cd | |
parent | 3d39e8fb7688f6469b060cd1b05f62348ea32c1a (diff) |
Should update clen, not coffset
-rw-r--r-- | src/predict-refine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/predict-refine.c b/src/predict-refine.c index 3b8e9b68..4354e999 100644 --- a/src/predict-refine.c +++ b/src/predict-refine.c @@ -421,7 +421,7 @@ static void update_detector(struct detector *det, double xoffs, double yoffs, struct panel *p = &det->panels[i]; p->cnx += xoffs * p->res; p->cny += yoffs * p->res; - p->coffset += coffs; + p->clen += coffs; } } |