Skip to content

Commit

Permalink
Merge branch 'master' into partr
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj authored Sep 5, 2019
2 parents 37cb9c6 + a6e1d32 commit fe8c19e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dct.jl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ for (pf, pfr, K, inplace) in ((:plan_dct, :plan_r2r, REDFT10, false),
end

function plan_inv(p::DCTPlan{T,K,inplace}) where {T,K,inplace}
X = Array{T}(p.plan.sz)
X = Array{T}(undef, p.plan.sz)
iK = inv_kind[K]
DCTPlan{T,iK,inplace}(inplace ?
plan_r2r!(X, iK, p.region, flags=p.plan.flags) :
Expand Down

0 comments on commit fe8c19e

Please sign in to comment.