Skip to content

Commit

Permalink
Add is_power for all finite fields
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma committed Jul 27, 2023
1 parent 1048bb3 commit 5ee6cda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "Nemo"
uuid = "2edaba10-b0f1-5616-af89-8c11ac63239a"
version = "0.35.2"
version = "0.35.3"

[deps]
AbstractAlgebra = "c3fe647b-3220-5bb0-a1ea-a7954cac585d"
Expand Down
2 changes: 1 addition & 1 deletion src/HeckeMiscPoly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ function roots(K::FqPolyRepField, f::FpPolyRingElem)
return roots(ff)
end

function is_power(a::Union{fqPolyRepFieldElem,FqPolyRepFieldElem,FqFieldElem}, m::Int)
function is_power(a::Union{fpField, FpFieldElem, fqPolyRepFieldElem,FqPolyRepFieldElem,FqFieldElem}, m::Int)

Check warning on line 242 in src/HeckeMiscPoly.jl

View check run for this annotation

Codecov / codecov/patch

src/HeckeMiscPoly.jl#L242

Added line #L242 was not covered by tests
if iszero(a)
return true, a
end
Expand Down

0 comments on commit 5ee6cda

Please sign in to comment.