aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-04-29 18:59:19 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:25 +0100
commit5b6014ca61ada5c7daec1c23bf76f1047381f780 (patch)
treeacb1239707308a6eb62577a674401ec6428a27b2 /src
parent65856fbddeb56b2975d54c02f6d4a371ca700486 (diff)
Debug output
Diffstat (limited to 'src')
-rw-r--r--src/post-refinement.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c
index 2d2084db..3441f3e3 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -318,6 +318,8 @@ static double pr_iterate(struct image *image, const RefList *full,
}
}
+ double tg = gsl_matrix_get(M, 0, 0);
+ STATUS("total gradient = %e\n", tg);
//show_matrix_eqn(M, v, NUM_PARAMS);
shifts = gsl_vector_alloc(NUM_PARAMS);