Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
PerezHz committed Mar 5, 2024
1 parent f95b797 commit c4049e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/power.jl
Original file line number Diff line number Diff line change
Expand Up @@ -683,11 +683,12 @@ end
end
end
if kodd == 0
# @inbounds mul!(c[k], c[kend+1], c[kend+1], -1)
# c[k] <- c[k] - c[kend+1]^2
# TODO: use accsqr! here?
@inbounds mul!(c[k], c[kend+k0+1], c[kend+k0+1], scalar=-1)
end
@inbounds for i = imin:imax
# c[k] += (-2) * c[i] * c[k+k0-i]
# c[k] <- c[k] - 2 * c[i] * c[k+k0-i]
mul!(c[k], c[i], c[k+k0-i], scalar=-2)
end
# @inbounds c[k] <- c[k] / (2*c[k0])
Expand Down

0 comments on commit c4049e8

Please sign in to comment.