Skip to content

Commit 4144cc5

Browse files
Merge pull request #823 from ChrisRackauckas-Claude/fix-mkl-jet-test
Fix MKLLUFactorization JET test by using target_modules parameter
2 parents d9b3a96 + 2f86c16 commit 4144cc5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/nopre/jet.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,11 @@ end
9696
end
9797

9898
# Platform-specific factorizations (may not be available on all systems)
99-
# MKLLUFactorization: Fixed type stability issues in BLAS error logging
99+
# MKLLUFactorization: Use target_modules to focus JET analysis on LinearSolve code
100+
# This avoids false positives from Base.show and other stdlib runtime dispatches
101+
# while still catching real type stability issues in the solver itself
100102
if @isdefined(MKLLUFactorization)
101-
JET.@test_opt solve(prob, MKLLUFactorization())
103+
JET.@test_opt target_modules=(LinearSolve, SciMLBase) solve(prob, MKLLUFactorization())
102104
end
103105

104106
if Sys.isapple() && @isdefined(AppleAccelerateLUFactorization)

0 commit comments

Comments
 (0)