Skip to content

Commit a5b56ec

Browse files
committed
clean up
1 parent 90c4485 commit a5b56ec

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

ext/LinearSolveForwardDiffExt.jl

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,6 @@ const DualBLinearProblem = LinearProblem{
3434
const DualAbstractLinearProblem = Union{
3535
DualLinearProblem, DualALinearProblem, DualBLinearProblem}
3636

37-
# LinearSolve.@concrete mutable struct DualLinearCache
38-
# linear_cache
39-
# dual_type
40-
41-
# partials_A
42-
# partials_b
43-
# partials_u
44-
45-
# dual_A
46-
# dual_b
47-
# dual_u
48-
# end
49-
5037
LinearSolve.@concrete mutable struct DualLinearCache{DT <: Dual}
5138
linear_cache
5239

@@ -125,12 +112,6 @@ function linearsolve_dual_solution(
125112
return DT(u, partials)
126113
end
127114

128-
# function linearsolve_dual_solution(u::Number, partials,
129-
# dual_type::Type{<:Dual{T, V, P}}) where {T, V, P}
130-
# # Handle single-level duals
131-
# return dual_type(u, partials)
132-
# end
133-
134115
function linearsolve_dual_solution(u::AbstractArray, partials,
135116
cache::DualLinearCache{DT}) where {DT}
136117
# Handle single-level duals for arrays

0 commit comments

Comments
 (0)