|
246 | 246 | @test BLAS.hpmv!(Cuplo, α, AP, xx, β, deepcopy(yy)) ≈ α*AH*xx + β*yy
|
247 | 247 | end
|
248 | 248 | AP′ = view(zeros(elty, n*(n+1)),1:2:n*(n+1))
|
249 |
| - @test_throws ArgumentError BLAS.hpmv!(Cuplo, α, AP′, x, β, y) |
| 249 | + @test_throws ErrorException BLAS.hpmv!(Cuplo, α, AP′, x, β, y) |
250 | 250 | AP′ = view(AP, 1:length(AP′) - 1)
|
251 | 251 | @test_throws DimensionMismatch BLAS.hpmv!(Cuplo, α, AP′, x, β, y)
|
252 | 252 | @test_throws DimensionMismatch BLAS.hpmv!(Cuplo, α, AP′, x, β, view(y,1:n-1))
|
|
276 | 276 | @test BLAS.spmv!(Cuplo, α, AP, xx, β, deepcopy(yy)) ≈ α*AS*xx + β*yy
|
277 | 277 | end
|
278 | 278 | AP′ = view(zeros(elty, n*(n+1)),1:2:n*(n+1))
|
279 |
| - @test_throws ArgumentError BLAS.spmv!(Cuplo, α, AP′, x, β, y) |
| 279 | + @test_throws ErrorException BLAS.spmv!(Cuplo, α, AP′, x, β, y) |
280 | 280 | AP′ = view(AP, 1:length(AP′) - 1)
|
281 | 281 | @test_throws DimensionMismatch BLAS.spmv!(Cuplo, α, AP′, x, β, y)
|
282 | 282 | @test_throws DimensionMismatch BLAS.spmv!(Cuplo, α, AP′, x, β, view(y,1:n-1))
|
|
0 commit comments