From ad25f6413156d53baa367a6ae0d5287f0a6c1e90 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 14 Apr 2015 22:57:50 +0200 Subject: Should update clen, not coffset --- src/predict-refine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- cgit v1.2.3