Skip to content
New issue

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

Ambigious methods warning #60

Open
yuyichao opened this issue May 23, 2015 · 1 comment
Open

Ambigious methods warning #60

yuyichao opened this issue May 23, 2015 · 1 comment

Comments

@yuyichao
Copy link
Contributor

julia> using SIUnits
Warning: New definition 
    convert(Type{SIUnits.SIQuantity{T,m,kg,s,A,K,mol,cd,rad,sr}}, T) at /usr/share/julia/site/v0.4/SIUnits/src/SIUnits.jl:134
is ambiguous with: 
    convert(Type{T<:Number}, Base.Dates.Period) at dates/periods.jl:21.
To fix, define 
    convert(Type{SIUnits.SIQuantity{_<:Base.Dates.Period,m,kg,s,A,K,mol,cd,rad,sr}}, _<:Base.Dates.Period)
before the new definition.
Warning: New definition 
    convert(Type{SIUnits.NonSIQuantity{T,U}}, T) at /usr/share/julia/site/v0.4/SIUnits/src/SIUnits.jl:539
is ambiguous with: 
    convert(Type{T<:Number}, Base.Dates.Period) at dates/periods.jl:21.
To fix, define 
    convert(Type{SIUnits.NonSIQuantity{_<:Base.Dates.Period,U}}, _<:Base.Dates.Period)
before the new definition.
@yuyichao
Copy link
Contributor Author

julia> versioninfo()
Julia Version 0.4.0-dev+4949
Commit 7ddc684* (2015-05-22 23:28 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
  WORD_SIZE: 64
  BLAS: libopenblas (DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas
  LIBM: libm
  LLVM: libLLVM-3.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant