On Saturday, 31 January 2015 07:58:38 UTC-5, Tim Holy wrote:
>
> In principle I don't see why the current Complex{Bool} definition
> shouldn't be
> feasible. There might just be an inference bug. If you use @code_warntype,
> you'll see that `im` gets annotated as `Any`.
>Thanks very much, replacing im with convert(Complex128, im) seems to help. I filed the issue here: https://github.com/JuliaLang/julia/issues/9989
