We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0994cf8 commit df0c00eCopy full SHA for df0c00e
test/partitions_test.jl
@@ -4,6 +4,9 @@ A = (rand(5),rand(5))
4
p = ArrayPartition(A)
5
@test (p.x[1][1],p.x[2][1]) == (p[1],p[6])
6
7
+p = ArrayPartition(A,Val{true})
8
+@test !(p.x[1] === A[1])
9
+
10
p2 = similar(p)
11
p2[1] = 1
12
@test p2.x[1] != p.x[1]
0 commit comments