You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 30, 2022. It is now read-only.
julia> a =fill(1+ im)
0-dimensional Array{Complex{Int64},0}:1+1im
julia>-a
-1-1im
1.3:
julia> a =fill(1+ im)
0-dimensional Array{Complex{Int64},0}:1+1im
julia>-a
0-dimensional Array{Complex{Int64},0}:-1-1im
This causes one of the tests here to fail with:
random diff circuit: Error During Test at /root/.julia/packages/YaoExtensions/VAbtx/test/CircuitBuild.jl:43
Got exception outside of a @test
MethodError: Cannot `convert` an object of type Array{Float64,0} to an object of type Float64
Closest candidates are:convert(::Type{Float64}, !Matched::SymEngine.BasicType{Val{:RealDouble}}) at /root/.julia/packages/SymEngine/zSUGO/src/numerics.jl:35convert(::Type{Float64}, !Matched::SymEngine.Basic) at /root/.julia/packages/SymEngine/zSUGO/src/numerics.jl:179convert(::Type{T}, !Matched::SymEngine.Basic) where T<:Real at /root/.julia/packages/SymEngine/zSUGO/src/numerics.jl:184...
After JuliaLang/julia#32122 the following behavior is different from 1.3 and 1.2
1.2:
1.3:
This causes one of the tests here to fail with:
The difference is that here:
YaoExtensions.jl/src/Diff.jl
Line 201 in 2545ea2
g
is a 0-dimensional array. In 1.2 this would get downgraded to a scalar while in 1.3 it keeps being a 0-dArray
.The text was updated successfully, but these errors were encountered: