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 1cfb04f commit 961f775Copy full SHA for 961f775
test/projection.jl
@@ -287,7 +287,7 @@ using OffsetArrays, BenchmarkTools
287
# For sure these fail on Julia 1.0, not sure about 1.1 to 1.5
288
289
pvec = ProjectTo(rand(10^3))
290
- @test 0 == @ballocated $pvec(dx) setup=(dx=rand(10^3)) # pass through
+ VERSION >= v"1.7-" && @test 0 == @ballocated $pvec(dx) setup=(dx=rand(10^3)) # pass through
291
@test 90 > @ballocated $pvec(dx) setup=(dx=rand(10^3,1)) # reshape
292
293
@test 0 == @ballocated ProjectTo(x)(dx) setup=(x=rand(10^3); dx=rand(10^3)) # including construction
0 commit comments