Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pholme committed Jul 28, 2018
1 parent 93c381e commit 33d5a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsir.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ unsigned int next_contact (unsigned int *t, unsigned int nt, unsigned int now) {
if (now < t[lo]) hi = lo; // the only case lo is correct

// get a random contact
i = hi + g.rnd2inx[lo = pcg_16()];
i = hi + g.rnd2inx[pcg_16()];

if (i >= nt) return NONE; // if the contact is too late, skip it

Expand Down

0 comments on commit 33d5a46

Please sign in to comment.