Skip to content

Commit

Permalink
Remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
sharanry committed Nov 19, 2023
1 parent 1fd59f2 commit 465bd47
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ext/LinearSolveForwardDiff.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ function _solve!(cache, alg, dAs, dbs, A, b, T; kwargs...)
reltol = cache.reltol isa Dual ? ForwardDiff.value(cache.reltol) : cache.reltol
abstol = cache.abstol isa Dual ? ForwardDiff.value(cache.abstol) : cache.abstol
u = eltype(cache.u) <: Dual ? ForwardDiff.value.(cache.u) : cache.u
@show typeof(cache.cacheval)
@show cache.cacheval isa Tuple
cacheval = cache.cacheval isa Tuple ? cache.cacheval[1] : cache.cacheval
@show typeof(cacheval)
cacheval = eltype(cacheval.factors) <: Dual ? begin
LinearSolve.LinearAlgebra.LU(ForwardDiff.value.(cacheval.factors), cacheval.ipiv, cacheval.info)

Check warning on line 19 in ext/LinearSolveForwardDiff.jl

View check run for this annotation

Codecov / codecov/patch

ext/LinearSolveForwardDiff.jl#L9-L19

Added lines #L9 - L19 were not covered by tests
end : cacheval
Expand Down

0 comments on commit 465bd47

Please sign in to comment.