Skip to content

Commit

Permalink
Add is_power for all finite fields (#1517)
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma authored Jul 27, 2023
1 parent 1048bb3 commit bd2300b
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)
if iszero(a)
return true, a
end
Expand Down

0 comments on commit bd2300b

Please sign in to comment.