Skip to content

Commit 6a71078

Browse files
authored
update test for Broadcast.materialize (#168)
1 parent e081798 commit 6a71078

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test_blockbanded.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ using Test
88

99
import BlockBandedMatrices: MemoryLayout, ColumnMajor, BroadcastStyle,
1010
BlockBandedStyle, blockrowsupport, blockcolsupport
11-
import Base.Broadcast: materialize!
1211

1312
@testset "BlockBandedMatrix" begin
1413
@test BroadcastStyle(BlockBandedMatrix) == BlockBandedStyle()
@@ -196,7 +195,7 @@ import Base.Broadcast: materialize!
196195
@test sum(A) == 20
197196
@test sum(B) == 20
198197
C = BlockBandedMatrix{Float64}(undef, [2,2], [2,2,2], (0,3))
199-
@test all(mul!(C,A,B) .=== materialize!(MulAdd(1.0,A,B,0.0,similar(C))) .=== A*B)
198+
@test all(mul!(C,A,B) .=== ArrayLayouts.materialize!(MulAdd(1.0,A,B,0.0,similar(C))) .=== A*B)
200199
AB = A*B
201200
@test AB isa BlockBandedMatrix
202201
@test Matrix(AB) Matrix(A)*Matrix(B)

0 commit comments

Comments
 (0)