Skip to content

Commit

Permalink
Fixed type issue in math.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mercere99 committed Feb 15, 2019
1 parent 6290c2b commit 2b7e17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/tools/math.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ namespace emp {
if ((dividend % divisor) * 2 == divisor) {
// ... by default, the result is rounded up;
// with 1/2 probability round down instead
res -= r.GetInt(2);
res -= r.GetUInt(2);
}
return res;
}
Expand Down

0 comments on commit 2b7e17b

Please sign in to comment.