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 7376381 commit 3cd098aCopy full SHA for 3cd098a
test/basic.jl
@@ -292,14 +292,16 @@ test_apply_noalloc(H, du, u, p, t) = @test_broken (@allocations apply_op!(H, du,
292
return nothing
293
end
294
295
- test_apply_noalloc_new(H, du, v, u, p, t) = @test_broken (@allocations apply_op_new!(H, du, v, u, p, t)) == 0
+ if VERSION >= v"1.11"
296
+ test_apply_noalloc_new(H, du, v, u, p, t) = @test (@allocations apply_op_new!(H, du, v, u, p, t)) == 0
297
- @allocations apply_op_new!(op, w, v, u, p, t) # warmup
298
- test_apply_noalloc_new(op, w, v, u, p, t)
299
-
300
- ## Original allocations test
301
- @allocations apply_op!(op, v, u, p, t) # warmup
302
- test_apply_noalloc(op, v, u, p, t)
+ @allocations apply_op_new!(op, w, v, u, p, t) # warmup
+ test_apply_noalloc_new(op, w, v, u, p, t)
+
+ ## Original allocations test
+ @allocations apply_op!(op, v, u, p, t) # warmup
303
+ test_apply_noalloc(op, v, u, p, t)
304
+ end
305
306
## Time-Dependent Coefficients
307
0 commit comments