We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I might be confused, but
julia> @which abs2(Dual(1.0,1.0)) abs2(z::DualNumbers.Dual{T<:Real}) at /Users/goretkin/.julia/v0.4/DualNumbers/src/dual.jl:186
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
The text was updated successfully, but these errors were encountered:
This should be taken care of by #29.
Sorry, something went wrong.
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
abs2
c8d9601
Merge pull request #36 from ScottPJones/spj/fixabs2
e230121
Fix #30 Overwritten abs2
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: