Skip to content

Commit e296bd2

Browse files
committed
Remove use of global allowscalar in tests
1 parent c80b0cc commit e296bd2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

test/test_abstract_blocktype.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using Adapt: adapt
22
using BlockArrays: Block
33
using BlockSparseArrays: BlockSparseMatrix, blockstoredlength
4-
using GPUArraysCore: allowscalar
54
using JLArrays: JLArray
65
using LinearAlgebra: hermitianpart, norm
76
using MatrixAlgebraKit: eig_full, eig_trunc, eig_vals, eigh_full, eigh_trunc, eigh_vals,
@@ -15,7 +14,6 @@ arrayts = (Array, JLArray)
1514
@testset "Abstract block type (arraytype=$arrayt, eltype=$elt)" for arrayt in arrayts,
1615
elt in elts
1716

18-
arrayt === Array || allowscalar(false)
1917
dev = adapt(arrayt)
2018

2119
a = BlockSparseMatrix{elt, AbstractMatrix{elt}}(undef, [2, 3], [2, 3])

0 commit comments

Comments
 (0)