JuliaDiff / DualNumbers.jl

Julia package for representing dual numbers and for performing dual algebra
Other
80 stars 30 forks source link

ambiguity warnings #7

Closed keesvp closed 10 years ago

keesvp commented 10 years ago
Version 0.3.0-prerelease+1290 (2014-01-28 23:09 UTC)
 Commit 1234340* (1 days old master)
 x86_64-w64-mingw32
        julia> using DualNumbers
Warning: New definition
    *(Real,Dual{T<:Real}) at \Users\Kees\.julia\DualNumbers\src\dual.jl:128
is ambiguous with:
    *(Bool,T<:Number) at bool.jl:52.
To fix, define
    *(Bool,_<:Dual{T<:Real})
before the new definition.
Warning: New definition
    *(Dual{T<:Real},Real) at \Users\Kees\.julia\DualNumbers\src\dual.jl:129
is ambiguous with:
    *(Number,Bool) at bool.jl:55.
To fix, define
    *(Dual{T<:Real},Bool)
before the new definition.
mlubin commented 10 years ago

Thanks, this is fixed in master. I'll leave the issue open until it's bumped in METADATA. See also JuliaLang/julia#5611.

keesvp commented 10 years ago

OK, I see. Thanks.

mlubin commented 10 years ago

Bumped.