Open eosfor opened 3 years ago
julia> versioninfo() Julia Version 1.6.2 Commit 1b93d53fc4 (2021-07-14 15:36 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) CPU: Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
julia> levenshtein("polynomial", "exponential") ERROR: MethodError: no method matching (Array{Int64, N} where N)(::Int64, ::Int64) Closest candidates are: (Array{T, N} where N)(::LinearAlgebra.UniformScaling, ::Integer, ::Integer) where T at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/LinearAlgebra/src/uniformscaling.jl:475 (Array{T, N} where N)(::UndefInitializer, ::Int64) where T at boot.jl:462 (Array{T, N} where N)(::UndefInitializer, ::Int64, ::Int64) where T at boot.jl:463 ... Stacktrace: [1] levenshtein!(source::String, target::String, deletion_cost::Int64, insertion_cost::Int64, substitution_cost::Int64) @ Levenshtein ~/.julia/packages/Levenshtein/4MdEU/src/Levenshtein.jl:33 [2] levenshtein(source::String, target::String, deletion_cost::Int64, insertion_cost::Int64, substitution_cost::Int64) @ Levenshtein ~/.julia/packages/Levenshtein/4MdEU/src/Levenshtein.jl:22 [3] levenshtein(source::String, target::String, cost::Int64) @ Levenshtein ~/.julia/packages/Levenshtein/4MdEU/src/Levenshtein.jl:18 [4] levenshtein(source::String, target::String) @ Levenshtein ~/.julia/packages/Levenshtein/4MdEU/src/Levenshtein.jl:14 [5] top-level scope @ REPL[6]:1
julia> versioninfo() Julia Version 1.6.2 Commit 1b93d53fc4 (2021-07-14 15:36 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) CPU: Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
julia> levenshtein("polynomial", "exponential") ERROR: MethodError: no method matching (Array{Int64, N} where N)(::Int64, ::Int64) Closest candidates are: (Array{T, N} where N)(::LinearAlgebra.UniformScaling, ::Integer, ::Integer) where T at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/LinearAlgebra/src/uniformscaling.jl:475 (Array{T, N} where N)(::UndefInitializer, ::Int64) where T at boot.jl:462 (Array{T, N} where N)(::UndefInitializer, ::Int64, ::Int64) where T at boot.jl:463 ... Stacktrace: [1] levenshtein!(source::String, target::String, deletion_cost::Int64, insertion_cost::Int64, substitution_cost::Int64) @ Levenshtein ~/.julia/packages/Levenshtein/4MdEU/src/Levenshtein.jl:33 [2] levenshtein(source::String, target::String, deletion_cost::Int64, insertion_cost::Int64, substitution_cost::Int64) @ Levenshtein ~/.julia/packages/Levenshtein/4MdEU/src/Levenshtein.jl:22 [3] levenshtein(source::String, target::String, cost::Int64) @ Levenshtein ~/.julia/packages/Levenshtein/4MdEU/src/Levenshtein.jl:18 [4] levenshtein(source::String, target::String) @ Levenshtein ~/.julia/packages/Levenshtein/4MdEU/src/Levenshtein.jl:14 [5] top-level scope @ REPL[6]:1