Skip to content

Commit 7efded5

Browse files
committed
address comments
1 parent 413f40b commit 7efded5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/pseudotransient.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ function perform_step!(cache::PseudoTransientCache{true})
119119
else
120120
J .= J - (1 / alpha) * I
121121
end
122-
#J_new = J - (1 / alpha) * I
123122

124123
termination_condition = cache.termination_condition(tc_storage)
125124

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

0 commit comments

Comments
 (0)