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 098264b commit 1c47fe6Copy full SHA for 1c47fe6
test/downstream/alloccheck.jl
@@ -24,11 +24,7 @@ op = AddedOperator(A, B)
24
return nothing
25
end
26
27
-if VERSION >= v"1.11"
28
- apply_op!(op, w, v, u, p, t)
29
-else
30
- @test_throws AllocCheckFailure apply_op!(op, w, v, u, p, t)
31
-end
+@test_throws AllocCheckFailure apply_op!(op, w, v, u, p, t)
32
33
for T in (Float32, Float64, ComplexF32, ComplexF64)
34
N = 100
@@ -57,12 +53,6 @@ for T in (Float32, Float64, ComplexF32, ComplexF64)
57
53
p = (ω = 0.1,)
58
54
t = 0.1
59
55
60
- # Test allocations with original interface
61
- if VERSION >= v"1.11"
62
- apply_op!(H_sparse, w, v, u, p, t)
63
- apply_op!(H_dense, w, v, u, p, t)
64
- else
65
- @test_throws AllocCheckFailure apply_op!(H_sparse, w, v, u, p, t)
66
- @test_throws AllocCheckFailure apply_op!(H_dense, w, v, u, p, t)
67
- end
56
+ @test_throws AllocCheckFailure apply_op!(H_sparse, w, v, u, p, t)
+ @test_throws AllocCheckFailure apply_op!(H_dense, w, v, u, p, t)
68
0 commit comments