Skip to content

Commit 112d791

Browse files
Disable forwarddiff overloads for now
Causing errors on release.
1 parent 63763e8 commit 112d791

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/LinearSolveForwardDiffExt.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ function xp_linsolve_rhs(
9696
b_list
9797
end
9898

99+
#=
99100
function SciMLBase.solve(prob::DualAbstractLinearProblem, args...; kwargs...)
100101
return solve(prob, nothing, args...; kwargs...)
101102
end
@@ -109,6 +110,7 @@ function SciMLBase.solve(prob::DualAbstractLinearProblem,
109110
alg::LinearSolve.SciMLLinearSolveAlgorithm, args...; kwargs...)
110111
solve!(init(prob, alg, args...; kwargs...))
111112
end
113+
=#
112114

113115
function linearsolve_dual_solution(
114116
u::Number, partials, dual_type)
@@ -122,6 +124,7 @@ function linearsolve_dual_solution(
122124
zip(u, partials_list[i, :] for i in 1:length(partials_list[1])))
123125
end
124126

127+
#=
125128
function SciMLBase.init(
126129
prob::DualAbstractLinearProblem, alg::LinearSolve.SciMLLinearSolveAlgorithm,
127130
args...;
@@ -170,6 +173,7 @@ function SciMLBase.solve!(cache::DualLinearCache, args...; kwargs...)
170173
cache.alg, dual_sol, sol.resid, cache; sol.retcode, sol.iters, sol.stats
171174
)
172175
end
176+
=#
173177

174178
# If setting A or b for DualLinearCache, put the Dual-stripped versions in the LinearCache
175179
# Also "forwards" setproperty so that

0 commit comments

Comments
 (0)