Skip to content

Commit 29a5f83

Browse files
Merge pull request #85 from adienes/patch-1
update shapes in tests for stricter `setindex!`
2 parents 61acd35 + 1bb6b79 commit 29a5f83

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/basic.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ A[1, ..] = reshape([3 4
2626
5 6
2727
4 5
2828
6 7],
29-
1,
3029
4,
3130
2)
3231

@@ -78,7 +77,7 @@ C[1, 1] += 1
7877
@test StaticArrayInterface.getindex(A,:,..,1) == [2 1 4 5; 2 2 3 6]
7978
@test StaticArrayInterface.getindex(A,:,..,2) == [3 2 6 5; 3 2 6 6]
8079

81-
StaticArrayInterface.setindex!(A, reshape([3 4; 5 6; 4 5; 6 7], 1, 4, 2), 1, ..)
80+
StaticArrayInterface.setindex!(A, reshape([3 4; 5 6; 4 5; 6 7], 4, 2), 1, ..)
8281

8382
B = [3 4
8483
5 6

0 commit comments

Comments
 (0)