Skip to content

Commit 9ef7134

Browse files
fix up tests
1 parent 946a45e commit 9ef7134

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/appleaccelerate.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ to avoid allocations and does not require libblastrampoline.
1111
"""
1212
struct AppleAccelerateLUFactorization <: AbstractFactorization end
1313

14-
function is_new_accelerate_available()
14+
function appleaccelerate_isavailable()
1515
libacc_hdl = dlopen_e(libacc)
1616
if libacc_hdl == C_NULL
1717
return false

test/basictests.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ end
213213
test_interface(alg, prob1, prob2)
214214
end
215215
end
216+
if LinearSolve.appleaccelerate_isavailable()
217+
test_interface(AppleAccelerateLUFactorization(), prob1, prob2)
218+
end
216219
end
217220

218221
@testset "Generic Factorizations" begin

0 commit comments

Comments
 (0)