Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Aqua = "0.8"
ArrayLayouts = "1.0.8"
Documenter = "1"
FillArrays = "1"
JET = "0.4, 0.6, 0.7, 0.8"
LinearAlgebra = "1.6"
OffsetArrays = "1"
Random = "1.6"
Expand All @@ -24,12 +23,11 @@ julia = "1.6"
[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Aqua", "Documenter", "JET", "OffsetArrays", "SparseArrays", "StaticArrays", "Test", "Random"]
test = ["Aqua", "Documenter", "OffsetArrays", "SparseArrays", "StaticArrays", "Test", "Random"]
11 changes: 0 additions & 11 deletions test/test_blockbroadcast.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using BlockArrays, FillArrays, Test
import BlockArrays: SubBlockIterator, BlockIndexRange, Diagonal
using JET

@testset "broadcast" begin
@testset "BlockArray" begin
Expand Down Expand Up @@ -30,17 +29,11 @@ using JET
u = BlockArray(randn(5), [2,3])
dest = zeros(size(u)..., 1)
@test (dest .= u) isa typeof(dest)
@static if isdefined(JET, :test_opt)
@test_opt ((dest,u) -> dest .= u)(dest,u)
end
@test reshape(dest, size(u)) == u

u = BlockArray(randn(3,3), [1,2], [1,2])
dest = zeros(length(u))
@test (dest .= u) isa typeof(dest)
@static if isdefined(JET, :test_opt)
@test_opt ((dest,u) -> dest .= u)(dest,u)
end
@test reshape(dest, size(u)) == u
end
end
Expand Down Expand Up @@ -202,10 +195,6 @@ using JET
A = zeros(size(u))
@inferred(copyto!(similar(u), Base.broadcasted(exp, u)))
@test exp.(u) == exp.(Vector(u))
# test_opt isn't available on JET v0.4, which is installed on Julia v1.6
@static if isdefined(JET, :test_opt)
@test_opt ((A,B) -> A .= B)(A,u)
end
end

@testset "adjtrans" begin
Expand Down