From aad28da6a43f17ab96b089903d0f4335fb1b36b4 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sat, 1 Apr 2017 02:49:05 +0000 Subject: [PATCH] fix typos --- README.md | 2 +- resynth.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4475e01..68a7862 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ usage: offsets are sorted in ascending distance from the center (the 0,0 point). the order of equal distances is undefined. -this probably doesn't matter matter, +this doesn't matter much in practice, considering the algorithm handles non-circular neighborhoods just fine — more on that later. diff --git a/resynth.c b/resynth.c index 6e24a13..00dde48 100644 --- a/resynth.c +++ b/resynth.c @@ -305,7 +305,7 @@ static void run(Resynth_state *s, Parameters parameters) { const int data_area = sb_count(s->data_points); - // shuffle data points in-place + // shuffle the data points in-place. for (int i = 0; i < data_area; i++) { // (we could use a better random function here) int j = rand() % data_area;