Closed jscottp99 closed 5 years ago
Fixed it
what was your fix for this?
Fixed it
I'm also facing the issue. What was the fix for this?
I believe it's a problem from the csv import not converting to a data frame. try modifying your imported players to DataFrame()
MethodError: no method matching Array(::Type{Int64}, ::Int64)
julia> include("c:/sp/hockey1.jl") ERROR: LoadError: MethodError: no method matching Array(::Type{Int64}, ::Int64) Closest candidates are: Array(::LinearAlgebra.UniformScaling, ::Integer, ::Integer) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\LinearAlgebra\src\uniformscaling.jl:329 Stacktrace: [1] create_lineups(::Int64, ::Int64, ::String, ::String, ::typeof(one_lineup_Type_4), ::String) at c:\sp\hockey1.jl:646 [2] top-level scope at none:0 [3] include at .\boot.jl:317 [inlined] [4] include_relative(::Module, ::String) at .\loading.jl:1041 [5] include(::Module, ::String) at .\sysimg.jl:29 [6] include(::String) at .\client.jl:388 [7] top-level scope at none:0 in expression starting at c:\sp\hockey1.jl:876
julia>