Skip to content

Commit

Permalink
Add missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloferz committed May 27, 2016
1 parent 0f9c62f commit 77debe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Primes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ function _witnesses(n::UInt64)
i = ((n >> 16) $ n) * 0x45d9f3b
i = ((i >> 16) $ i) * 0x45d9f3b
i = ((i >> 16) $ i) & 255 + 1
@inbounds (Int(bases[i]),)
@inbounds return (Int(bases[i]),)
end
witnesses(n::Integer) =
n < 4294967296 ? _witnesses(UInt64(n)) :
Expand Down

0 comments on commit 77debe1

Please sign in to comment.