Skip to content

Commit c737736

Browse files
committed
bug fix in complex_differentiable_abs fuction
1 parent 610c62b commit c737736

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/finite_difference.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ function complex_differentiable_abs{T <: Complex}(z::T)
8888
return -real(z) - im * imag(z)
8989
else
9090
return real(z) + im * imag(z)
91+
end
92+
end
9193

9294
##############################################################################
9395
##

0 commit comments

Comments
 (0)