Skip to content

Commit

Permalink
Fix memory corruption in fftcep
Browse files Browse the repository at this point in the history
related to r9y9/pysptk#18
  • Loading branch information
r9y9 committed Sep 7, 2015
1 parent ea3cfac commit 6bb1d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mgcep.jl
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ function fftcep!(c::StridedVector{Cdouble}, logsp::StridedVector{Cdouble};
order = length(c) - 1
ccall((:fftcep, libSPTK), Void,
(Ptr{Cdouble}, Cint, Ptr{Cdouble}, Cint, Cint, Cdouble),
logsp, length(logsp), c, length(c), num_iter, acceleration_factor)
logsp, length(logsp), c, order, num_iter, acceleration_factor)
c
end

Expand Down

0 comments on commit 6bb1d3e

Please sign in to comment.