Closed ViralBShah closed 4 years ago
Raster One to All: Error During Test at /Users/viral/.julia/dev/Circuitscape/src/utils.jl:366
Test threw exception
Expression: compare_aagrid(r, x, tol)
MethodError: no method matching compare_aagrid(::Array{Any,2}, ::Array{Float64,2}, ::Float64)
Closest candidates are:
compare_aagrid(::Array{T,2}, !Matched::Array{T,2}, ::Any) where T at /Users/viral/.julia/dev/Circuitscape/src/utils.jl:398
compare_aagrid(::Array{T,2}, !Matched::Array{T,2}) where T at /Users/viral/.julia/dev/Circuitscape/src/utils.jl:398
Stacktrace:
[1] compare_all_output(::String, ::Bool) at /Users/viral/.julia/dev/Circuitscape/src/utils.jl:366
[2] macro expansion at /Users/viral/.julia/dev/Circuitscape/src/utils.jl:330 [inlined]
[3] macro expansion at /Users/viral/julia/usr/share/julia/stdlib/v1.4/Test/src/Test.jl:1110 [inlined]
[4] macro expansion at /Users/viral/.julia/dev/Circuitscape/src/utils.jl:324 [inlined]
[5] macro expansion at /Users/viral/julia/usr/share/julia/stdlib/v1.4/Test/src/Test.jl:1110 [inlined]
[6] runtests(::typeof(compute_single)) at /Users/viral/.julia/dev/Circuitscape/src/utils.jl:260
This is using Circuitscape master and Julia master.
The failure doesn't happen in Julia 1.3-rc5. So perhaps an upstream issue.
Fixed in https://github.com/JuliaLang/julia/pull/33909
Thanks @KristofferC