[julia-users] ERROR: `checked_mul` has no method matching checked_mul(::Int64, ::Base.GMP.BigInt)
Hello every one! This only fails in v0.4.0-dev+ this is the log: - https://travis-ci.org/Ismael-VC/AHN.jl/jobs/51998218 Here it is in v0.3.6: - https://travis-ci.org/Ismael-VC/AHN.jl/jobs/51998217 And here is my test file`: - https://github.com/Ismael-VC/AHN.jl/blob/master/test/atomic_tests.jl#L5 I have narrowed down to this: julia versioninfo() Julia Version 0.4.0-dev+3353 Commit 0179028* (2015-02-14 17:08 UTC) Platform Info: System: Windows (x86_64-w64-mingw32) CPU: Intel(R) Core(TM) i3 CPU M 350 @ 2.27GHz WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Nehalem) LAPACK: libopenblas LIBM: libopenlibm LLVM: libLLVM-3.3 julia nums_data = [ (int8(n), Int8), (uint8(n), UInt8), (int16(n), Int16), (uint16(n), UInt16), (int32(n), Int32), (uint32(n), UInt32), (int64(n), Int64), (uint64(n), UInt64), (int128(n), Int128), (uint128(n), UInt128), (true, Bool), (complex(true, true), Bool), (float16(n), Float16), (float32(n), Float32), (float64(n), Float64), (BigInt(n), BigInt), (BigFloat(n), BigFloat), (n//n, Rational{Int}), (n//n + n//big(n)*im, Rational{BigInt}), (n+n*im, Int), (Inf*im, Float64) ] ERROR: MethodError: `checked_mul` has no method matching checked_mul(::Int64, :: LastMain.LastMain.Base.GMP.BigInt) Closest candidates are: checked_mul(::Int64, ::Int64) checked_mul(::LastMain.LastMain.Base.GMP.BigInt, ::LastMain.LastMain.Base.GMP. BigInt) in + at rational.jl:166 in + at complex.jl:118 It doesn't mater if I use `Compat` or not.
Re: [julia-users] ERROR: `checked_mul` has no method matching checked_mul(::Int64, ::Base.GMP.BigInt)
Would you mind opening an issue? On Feb 24, 2015, at 11:58 AM, Ismael VC ismael.vc1...@gmail.com wrote: Hello every one! This only fails in v0.4.0-dev+ this is the log: https://travis-ci.org/Ismael-VC/AHN.jl/jobs/51998218 Here it is in v0.3.6: https://travis-ci.org/Ismael-VC/AHN.jl/jobs/51998217 And here is my test file`: https://github.com/Ismael-VC/AHN.jl/blob/master/test/atomic_tests.jl#L5 I have narrowed down to this: julia versioninfo() Julia Version 0.4.0-dev+3353 Commit 0179028* (2015-02-14 17:08 UTC) Platform Info: System: Windows (x86_64-w64-mingw32) CPU: Intel(R) Core(TM) i3 CPU M 350 @ 2.27GHz WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Nehalem) LAPACK: libopenblas LIBM: libopenlibm LLVM: libLLVM-3.3 julia nums_data = [ (int8(n), Int8), (uint8(n), UInt8), (int16(n), Int16), (uint16(n), UInt16), (int32(n), Int32), (uint32(n), UInt32), (int64(n), Int64), (uint64(n), UInt64), (int128(n), Int128), (uint128(n), UInt128), (true, Bool), (complex(true, true), Bool), (float16(n), Float16), (float32(n), Float32), (float64(n), Float64), (BigInt(n), BigInt), (BigFloat(n), BigFloat), (n//n, Rational{Int}), (n//n + n//big(n)*im, Rational{BigInt}), (n+n*im, Int), (Inf*im, Float64) ] ERROR: MethodError: `checked_mul` has no method matching checked_mul(::Int64, :: LastMain.LastMain.Base.GMP.BigInt) Closest candidates are: checked_mul(::Int64, ::Int64) checked_mul(::LastMain.LastMain.Base.GMP.BigInt, ::LastMain.LastMain.Base.GMP. BigInt) in + at rational.jl:166 in + at complex.jl:118 It doesn't mater if I use `Compat` or not.