fix a typo that prevented shuffling/polishing

this should fix #1
This commit is contained in:
Connor Olding 2016-10-31 08:58:55 -07:00
parent 62c09b5be5
commit 4767586720
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ static void run(Resynth_state *s, Parameters parameters) {
const int data_area = sb_count(s->data_points);
for (int p = 0; p < parameters.polish + p; p++) {
for (int p = 0; p < parameters.polish + 1; p++) {
for (int i = 0; i < data_area; i++) {
// shuffle in-place
int j = rand() % data_area;