diff options
author | Thomas White <taw@physics.org> | 2011-06-08 19:21:38 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:29 +0100 |
commit | 6f5ef00f09246a40c3a504ec39f1b3b57f7a0a25 (patch) | |
tree | 5ba8184666af2e656dce3fc1af6a48f146ccdb2c | |
parent | 0750a5ae83ed9ce5c2c62a29959431d1800ce0b8 (diff) |
Set all scale factor when using simple matrix solution
-rw-r--r-- | src/hrs-scaling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c index 0c572f35..cbd54ee5 100644 --- a/src/hrs-scaling.c +++ b/src/hrs-scaling.c @@ -324,7 +324,7 @@ static double iterate_scale(struct image *images, int n, shifts = solve_by_eigenvalue_filtration(v, M); } else { shifts = gsl_vector_alloc(n); - for ( frame=0; frame<n-1; frame++ ) { + for ( frame=0; frame<n; frame++ ) { double num, den; num = gsl_vector_get(v, frame); den = gsl_matrix_get(M, frame, frame); |