Skip to content

Commit 9a4c573

Browse files
Merge pull request #537 from ChrisRackauckas-Claude/fix/deprecation-warnings
Fix deprecation warnings in test suite
2 parents eb87c39 + b7a9a75 commit 9a4c573

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

test/copy_static_array_test.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ b_voa = copy(a_voa)
9090
a_voa[:, 1] = SVector(1.0)
9191
a_voa[:, 2] = SVector(1.0)
9292
@. b_voa = a_voa
93-
@test b_voa[:, 1] == a_voa[1]
94-
@test b_voa[:, 2] == a_voa[2]
93+
@test b_voa[:, 1] == a_voa.u[1]
94+
@test b_voa[:, 2] == a_voa.u[2]
9595

9696
a = [SVector(0.0) for _ in 1:2]
9797
a_voa = VectorOfArray(a)

test/interface_tests.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ last_col = lastindex(testva_end, 2)
7373
@inferred testva_end[1, last_col]
7474
@inferred testva_end[1, 1:last_col]
7575
@test testva_end[1, last_col] == 2.0
76-
last_col = lastindex(testva_end)
77-
@inferred testva_end[1, last_col]
78-
@inferred testva_end[1, 1:last_col]
79-
@test testva_end[1, last_col] == 2.0
8076
last_row = lastindex(testva_end, 1)
8177
@inferred testva_end[last_row, 1]
8278
@inferred testva_end[1:last_row, 1]

0 commit comments

Comments
 (0)