Mercurial > octave
comparison scripts/miscellaneous/what.m @ 21568:3d60ed163b70
maint: Eliminate bad spacing around '='.
* Figure.h, PopupMenuControl.cc, annotation-dialog.cc, gl-select.h,
files-dock-widget.cc, find-files-dialog.cc, history-dock-widget.cc,
file-editor.cc, main-window.cc, webinfo.cc, resource-manager.cc,
shortcut-manager.cc, workspace-view.cc, __ichol__.cc, __ilu__.cc,
__lin_interpn__.cc, bitfcns.cc, debug.cc, filter.cc, ft-text-renderer.cc,
graphics.cc, graphics.in.h, hex2num.cc, jit-typeinfo.cc, load-save.cc,
ls-mat5.cc, mxarray.in.h, oct-stream.cc, pr-output.cc, variables.cc,
__init_fltk__.cc, __magick_read__.cc, chol.cc, ov-struct.cc, op-scm-cs.cc,
pt-assign.cc, CollocWt.cc, randpoisson.c, inputParser.m, quadgk.m, waitbar.m,
imwrite.m, __imread__.m, textread.m, fileattrib.m, __xzip__.m, what.m,
fsolve.m, fix_depends.m, stemleaf.m, bicgstab.m, ichol.m, io.tst:
maint: Eliminate bad spacing around '='.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 30 Mar 2016 22:09:26 -0700 |
parents | 516bb87ea72e |
children | dcf8922b724b |
comparison
equal
deleted
inserted
replaced
21567:3d25f9f4a62b | 21568:3d60ed163b70 |
---|---|
145 fmt = repmat (fmt, [1, ncols]); | 145 fmt = repmat (fmt, [1, ncols]); |
146 fmt = [fmt "\n"]; | 146 fmt = [fmt "\n"]; |
147 | 147 |
148 nrows = ceil (length (f) / ncols); | 148 nrows = ceil (length (f) / ncols); |
149 for i = 1 : nrows | 149 for i = 1 : nrows |
150 args = f(i:nrows:end); | 150 args = f(i:nrows:end); |
151 if (length (args) < ncols) | 151 if (length (args) < ncols) |
152 args(end+1 : ncols) = {""}; | 152 args(end+1 : ncols) = {""}; |
153 endif | 153 endif |
154 printf (fmt, args{:}); | 154 printf (fmt, args{:}); |
155 endfor | 155 endfor |