fix typos

This commit is contained in:
Connor Olding 2017-04-01 02:49:05 +00:00
parent 823b7a5008
commit aad28da6a4
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -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;