Skip to content

Commit

Permalink
Update src/flint/FlintTypes.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Lars Göttgens <[email protected]>
  • Loading branch information
fingolfin and lgoettgens authored Sep 26, 2024
1 parent b8c8bfe commit 18923be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flint/FlintTypes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6509,7 +6509,7 @@ const FlintInt = Union{Int, ZZRingElem}

FlintInt(x::ZZRingElem) = x
FlintInt(x::Integer) = ZZRingElem(x)::ZZRingElem
if Int === Int64
@static if Int === Int64
FlintInt(x::Union{Int64,Int32,Int16,Int8,UInt32,UInt16,UInt8}) = Int(x)
else
FlintInt(x::Union{Int32,Int16,Int8,UInt16,UInt8}) = Int(x)

Check warning on line 6515 in src/flint/FlintTypes.jl

View check run for this annotation

Codecov / codecov/patch

src/flint/FlintTypes.jl#L6515

Added line #L6515 was not covered by tests
Expand Down

0 comments on commit 18923be

Please sign in to comment.