Skip to content

Commit

Permalink
Fix tests for Julia v1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Jun 10, 2024
1 parent f73f3af commit 45a2c6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/matmul.jl
Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,8 @@ function test_sparse_vector_sum(::Type{T}) where {T}
x = SparseArrays.sparsevec([1, 3], T[5, 7])
y = copy(x)
z = copy(y)
alloc_test_le(() -> MA.operate!(+, y, z), 160)
alloc_test_le(() -> MA.operate!(-, y, z), 160)
alloc_test_le(() -> MA.operate!(+, y, z), 200)
alloc_test_le(() -> MA.operate!(-, y, z), 200)
alloc_test(() -> MA.operate_to!(x, +, y, z), 0)
alloc_test(() -> MA.operate_to!(x, -, y, z), 0)
alloc_test(() -> MA.operate_to!(x, +, y), 0)
Expand Down

0 comments on commit 45a2c6d

Please sign in to comment.