We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 313be3a commit 2020b7aCopy full SHA for 2020b7a
1 file changed
test/core/aliasing.jl
@@ -4,7 +4,8 @@ function buffer_equals(x, y)
4
if x isa Reactant.ConcreteIFRTArray
5
y.data.buffer == x.data.buffer
6
elseif x isa Reactant.ConcretePJRTArray
7
- y.data.buffers == x.data.buffers
+ all(((x,y),) -> x == y,
8
+ zip(x.data, y.data))
9
else
10
error("invalid array type $(typeof(x))")
11
end
0 commit comments