Skip to content

Commit

Permalink
Another minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lbenet committed Oct 9, 2024
1 parent 50c5b6e commit 8d857b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/power.jl
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ end
if ordT == lnull
a0 = constant_term(a[l0])
if isinteger(r) && r > 0
pow!(res[ordT], a[l0], aux[0], round(Integer, r), 1)
# power_by_squaring!(res[ordT], a[l0], aux[0], round(Integer, r))
# pow!(res[ordT], a[l0], aux[0], round(Integer, r), 1)
power_by_squaring!(res[ordT], a[l0], aux[0], round(Integer, r))
return nothing
end
iszero(a0) && throw(DomainError(a[l0],
Expand Down

0 comments on commit 8d857b7

Please sign in to comment.