Skip to content

Commit 286e9a6

Browse files
Fix usemkl check - it's a constant, not a function
Changed LinearSolve.usemkl(nothing) to LinearSolve.usemkl since usemkl is a constant boolean, not a function. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 182346f commit 286e9a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/trim/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ end
1111
using LinearAlgebra
1212
using LinearSolve
1313
# Only test if MKL is available
14-
if LinearSolve.usemkl(nothing)
14+
if LinearSolve.usemkl
1515
include("linear_mkl.jl")
1616
sol = TestMKLLUFactorization.solve_linear(1.0)
1717
@test sol.u [0.09090909090909091, 0.6363636363636364]
@@ -59,7 +59,7 @@ end
5959
("main_lu.jl", true),
6060
("main_rf.jl", true)
6161
]
62-
if LinearSolve.usemkl(nothing)
62+
if LinearSolve.usemkl
6363
push!(test_files, ("main_mkl.jl", true))
6464
end
6565

0 commit comments

Comments
 (0)