From c8d96011da2456e5ade6e7f35f07b8fb9f4ac151 Mon Sep 17 00:00:00 2001 From: ScottPJones Date: Sun, 20 Mar 2016 11:21:11 -0400 Subject: [PATCH] Fix #30 Overwritten abs2 --- src/dual_n.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dual_n.jl b/src/dual_n.jl index cf3f712..7d695c3 100644 --- a/src/dual_n.jl +++ b/src/dual_n.jl @@ -150,6 +150,7 @@ end for (funsym, exp) in Calculus.symbolic_derivatives_1arg() funsym == :exp && continue + funsym == :abs2 && continue @eval function $(funsym)(z::Dual4) x = real(z) df = $exp