aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hrs-scaling.c2
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);