Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yonatanwesen committed Oct 27, 2023
1 parent 413f40b commit 7efded5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pseudotransient.jl
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ function perform_step!(cache::PseudoTransientCache{true})
else
J .= J - (1 / alpha) * I
end
#J_new = J - (1 / alpha) * I

termination_condition = cache.termination_condition(tc_storage)

Expand Down Expand Up @@ -156,7 +155,7 @@ function perform_step!(cache::PseudoTransientCache{false})
cache.J = cache.J - (1 / alpha) * I
# u = u - J \ fu
if linsolve === nothing
cache.du = fu1 / (cache.J)
cache.du = fu1 / cache.J
else
linres = dolinsolve(alg.precs, linsolve; A = cache.J,
b = _vec(fu1),
Expand Down

0 comments on commit 7efded5

Please sign in to comment.