Skip to content

Commit

Permalink
Two more small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Benet committed Mar 25, 2017
1 parent 9e77bd8 commit e98f3fd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/power.jl
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ function pow!{S<:Real}(c::TaylorN, a::TaylorN, r::S, k::Int)

for i = 0:k-1
aux = r*(k-i) - i
# @inbounds c[k+1] += aux * a[k-i+1] * c[i+1]
mul!(c[k+1], aux*a[k-i+1], c[i+1])
end
@inbounds c[k+1] = c[k+1] / (k * constant_term(a))
Expand Down Expand Up @@ -225,7 +224,6 @@ function sqr!(c::HomogeneousPolynomial, a::HomogeneousPolynomial)

T = eltype(c)
@inbounds num_coeffs_a = size_table[a.order+1]
@inbounds num_coeffs = size_table[c.order+1]

@inbounds posTb = pos_table[c.order+1]
@inbounds idxTb = index_table[a.order+1]
Expand Down

0 comments on commit e98f3fd

Please sign in to comment.