Skip to content

Commit 8e31fd7

Browse files
!
1 parent 04d119a commit 8e31fd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "LinearSolve"
22
uuid = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
33
authors = ["SciML"]
4-
version = "1.16.2"
4+
version = "1.16.3"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"

src/default.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function defaultalg(A,b)
99
# Special case on Arrays: avoid BLAS for RecursiveFactorization.jl when
1010
# it makes sense according to the benchmarks, which is dependent on
1111
# whether MKL or OpenBLAS is being used
12-
if (A === nothing && b isa GPUArrays.AbstractGPUArray) || A isa Matrix
12+
if (A === nothing && !(b isa GPUArrays.AbstractGPUArray)) || A isa Matrix
1313
if (A === nothing || eltype(A) <: Union{Float32,Float64,ComplexF32,ComplexF64}) &&
1414
ArrayInterface.can_setindex(b)
1515
if length(b) <= 10

0 commit comments

Comments
 (0)