Skip to content

Commit 2020b7a

Browse files
committed
pjrt
1 parent 313be3a commit 2020b7a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/core/aliasing.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ function buffer_equals(x, y)
44
if x isa Reactant.ConcreteIFRTArray
55
y.data.buffer == x.data.buffer
66
elseif x isa Reactant.ConcretePJRTArray
7-
y.data.buffers == x.data.buffers
7+
all(((x,y),) -> x == y,
8+
zip(x.data, y.data))
89
else
910
error("invalid array type $(typeof(x))")
1011
end

0 commit comments

Comments
 (0)