Permalink
Browse files

Collect appropriate residual in G-LSMR.

  • Loading branch information...
dpo committed May 31, 2011
1 parent 5db74a5 commit d5a3ad01244dbd14e270398b3e7eae143847d5e6
Showing with 2 additions and 2 deletions.
  1. +2 −2 pykrylov/lls/lsmr.py
View
@@ -271,7 +271,7 @@ def solve(self, b, damp=0.0, atol=1e-9, btol=1e-9, conlim=1e8,
if store_resids:
self.resids.append(normr)
- self.normal_eqns_resids.append(test2)
+ self.normal_eqns_resids.append(normar)
# Main iteration loop.
while itn < itnlim:
@@ -389,7 +389,7 @@ def solve(self, b, damp=0.0, atol=1e-9, btol=1e-9, conlim=1e8,
if store_resids:
self.resids.append(normr)
- self.normal_eqns_resids.append(test2)
+ self.normal_eqns_resids.append(normar)
# The following tests guard against extremely small values of
# atol, btol or ctol. (The user may have set any or all of

0 comments on commit d5a3ad0

Please sign in to comment.