PyCall.jl icon indicating copy to clipboard operation
PyCall.jl copied to clipboard

Equality check returns vector

Open devmotion opened this issue 4 years ago • 0 comments

Is the following intended?

julia> using PyCall

julia> x = rand(3);

julia> PyObject(x) == PyObject(x)
3-element Vector{Bool}:
 1
 1
 1

In https://github.com/SciML/OrdinaryDiffEq.jl/issues/1402 a user reported an error that seems to be caused by this behaviour.

devmotion avatar May 10 '21 22:05 devmotion