Skip to content

Commit

Permalink
Simplify DoubleWidthUInt >> (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
fboemer authored Sep 27, 2024
1 parent e8db9a7 commit eea4996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/HomomorphicEncryption/DoubleWidthUInt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ extension DoubleWidthUInt: FixedWidthInteger {
if rhs._storage.high != (0 as High) ||
rhs._storage.low >= DoubleWidthUInt.bitWidth
{
lhs = lhs < (0 as DoubleWidthUInt) ? ~0 : 0
lhs = 0
return
}

Expand Down

0 comments on commit eea4996

Please sign in to comment.