Closed goretkin closed 8 years ago
This should be taken care of by #29.
This still seems to be a problem, at least on v0.5 master, even with #29 merged. I get this warning:
julia> using DualNumbers
INFO: Precompiling module DualNumbers...
WARNING: Method definition abs2(DualNumbers.Dual4) in module DualNumbers at /Users/scott/.julia/v0.5/DualNumbers/src/dual_n.jl:78 overwritten at /Users/scott/.julia/v0.5/DualNumbers/src/dual_n.jl:154.
This line was added in dual.jl to skip abs2
. Perhaps the same could be done in dual_n.jl
I might be confused, but
https://github.com/JuliaDiff/DualNumbers.jl/blob/v0.1.5/src/dual.jl#L186 which is masking a previous definition on https://github.com/JuliaDiff/DualNumbers.jl/blob/v0.1.5/src/dual.jl#L122