Skip to content

Commit

Permalink
Changed as per review
Browse files Browse the repository at this point in the history
  • Loading branch information
eulerkochy authored Feb 19, 2019
1 parent 7165e03 commit 8cf8d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/complex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ muladd(z::Complex, w::Complex, x::Complex) =

#unary + handling Complex{Bool}

+(z::Complex{Bool}) = Complex(convert(Int,z))
+(z::Complex{Bool}) = Complex(+z.re , +z.im)

# handle Bool and Complex{Bool}
# avoid type signature ambiguity warnings
Expand Down

0 comments on commit 8cf8d17

Please sign in to comment.