Skip to content

Commit

Permalink
Cosmetics.
Browse files Browse the repository at this point in the history
  • Loading branch information
sekrit-twc committed Jan 14, 2018
1 parent eb7fc2a commit 3210e8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion EdgeFixer/edgefixer.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ void edgefixer_process_edge(uint8_t *x, const uint8_t *y, int x_dist_to_next, in
}
} else {
least_squares(n, buf, &a, &b);
for (i = 0; i < n; ++i)
for (i = 0; i < n; ++i) {
x[i * x_dist_to_next] = float_to_u8(x[i * x_dist_to_next] * a + b);
}
}
}

0 comments on commit 3210e8a

Please sign in to comment.