Skip to content

Commit

Permalink
fix breakage with Nim HEAD (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefantalpalaru authored and mratsim committed Jan 8, 2019
1 parent 360d01d commit d002fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stint/private/uint_div.nim
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func div2n1n[T: SomeunsignedInt](q, r: var T, n_hi, n_lo, d: T) =

var (q, r) = divmod(n_hi, d_hi)
let m = q * d_lo
var r = (r shl halfSize) or n_lo
r = (r shl halfSize) or n_lo

# Fix the reminder, we're at most 2 iterations off
if r < m:
Expand Down

0 comments on commit d002fbb

Please sign in to comment.