Skip to content

Commit 789ae07

Browse files
remove MKL getrs! for now
1 parent 30c8fcd commit 789ae07

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ext/LinearSolveMKLExt.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,11 @@ function SciMLBase.solve!(cache::LinearCache, alg::MKLLUFactorization;
104104
cache.cacheval = fact
105105
cache.isfresh = false
106106
end
107-
107+
108+
y = ldiv!(cache.u, @get_cacheval(cache, :MKLLUFactorization)[1], cache.b)
109+
SciMLBase.build_linear_solution(alg, y, nothing, cache)
110+
111+
#=
108112
A, info = @get_cacheval(cache, :MKLLUFactorization)
109113
LinearAlgebra.require_one_based_indexing(cache.u, cache.b)
110114
m, n = size(A, 1), size(A, 2)
@@ -118,6 +122,7 @@ function SciMLBase.solve!(cache::LinearCache, alg::MKLLUFactorization;
118122
end
119123
120124
SciMLBase.build_linear_solution(alg, cache.u, nothing, cache)
125+
=#
121126
end
122127

123128
end

0 commit comments

Comments
 (0)