diff scripts/sparse/qmr.m @ 21031:66a08c3cafe3

maint: Follow Octave coding conventions in m-files. * repmat.m, strread.m, qmr.m: use "endif" rather than "end". * binoinv.m, nbininv.m: Use "endwhile" rather than "end". * edit.m: Remove useless "return" after error(). * krylov.m, __gnuplot_draw_axes__.m, __splinefit__.m: Fix indentation.
author Rik <rik@octave.org>
date Sun, 03 Jan 2016 14:22:08 -0800
parents 516bb87ea72e
children 3be6a07e8bad
line wrap: on
line diff
--- a/scripts/sparse/qmr.m	Sun Jan 03 22:26:25 2016 +0100
+++ b/scripts/sparse/qmr.m	Sun Jan 03 14:22:08 2016 -0800
@@ -223,7 +223,7 @@
       res1 = norm (r) / bnorm;
       if (nargout > 4)
         resvec(iter + 1, 1) = norm (r);
-      end
+      endif
 
       if (res1 < tol)
         ## Convergence achieved.