aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-04-14 22:57:50 +0200
committerThomas White <taw@physics.org>2015-04-20 15:50:40 +0200
commitad25f6413156d53baa367a6ae0d5287f0a6c1e90 (patch)
tree6302e266fc56208e9f2b5929096e2822f10013cd
parent3d39e8fb7688f6469b060cd1b05f62348ea32c1a (diff)
Should update clen, not coffset
-rw-r--r--src/predict-refine.c2
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;
}
}