This was fixed by https://github.com/JuliaLang/julia/pull/7906, which was
merged in March and is one of the larger changes for 0.4. I think the
workaround for 0.3 is to pass the real part and the imaginary part as
separate inputs.
On Friday, May 29, 2015 at 12:43:10 PM UTC-7, Jay Kickliter wrote:
>
> Is there a work around to pass a complex value (Complex{Float32}) to a c
> function in v0.3? My code is working in v0.4, so I'm guessing it was only
> recently implemented. Under v03, it appears as though the c code in only
> getting half of the the complex value.
>
> To be clear, I'm referring to passing a value, not a pointer.
>