Mercurial > octave
changeset 33665:6de41f40e397 default tip @
maint: Remove trailing spaces from code.
* NEWS.10.md, files-dock-widget.cc, data.cc, uifigure.m, assert.m:
Remove trailing spaces from code.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 14 Jun 2024 16:05:56 -0700 |
parents | b2af12232f75 |
children | |
files | etc/NEWS.10.md libgui/src/files-dock-widget.cc libinterp/corefcn/data.cc scripts/gui/uifigure.m scripts/testfun/assert.m |
diffstat | 5 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/NEWS.10.md Fri Jun 14 14:13:32 2024 -0400 +++ b/etc/NEWS.10.md Fri Jun 14 16:05:56 2024 -0700 @@ -80,7 +80,7 @@ from non-integers to integers was more lenient. - `issorted` now accepts the MODE option "monotonic", which has the same - behavior as the option "either". + behavior as the option "either". ### Alphabetical list of new functions added in Octave 10
--- a/libgui/src/files-dock-widget.cc Fri Jun 14 14:13:32 2024 -0400 +++ b/libgui/src/files-dock-widget.cc Fri Jun 14 16:05:56 2024 -0700 @@ -642,7 +642,7 @@ settings.sync (); // Reload header related settings only - m_header_settings_only = true; + m_header_settings_only = true; notice_settings (); } }
--- a/libinterp/corefcn/data.cc Fri Jun 14 14:13:32 2024 -0400 +++ b/libinterp/corefcn/data.cc Fri Jun 14 16:05:56 2024 -0700 @@ -7490,8 +7490,8 @@ @deftypefnx {} {@var{tf} =} issorted (@var{A}, @var{mode}) @deftypefnx {} {@var{tf} =} issorted (@var{A}, "rows", @var{mode}) Return true if the vector @var{A} is sorted according to @var{mode}, which -may be either @qcode{"ascend"}, @qcode{"descend"}, @qcode{"either"}, or -@qcode{"monotonic"} (@qcode{"either"} and @qcode{"monotonic"} are +may be either @qcode{"ascend"}, @qcode{"descend"}, @qcode{"either"}, or +@qcode{"monotonic"} (@qcode{"either"} and @qcode{"monotonic"} are equivalent). By default, @var{mode} is @qcode{"ascend"}. NaNs are treated in the same
--- a/scripts/gui/uifigure.m Fri Jun 14 14:13:32 2024 -0400 +++ b/scripts/gui/uifigure.m Fri Jun 14 16:05:56 2024 -0700 @@ -57,7 +57,7 @@ strfcn = @(s) any (strcmpi (s, {'AutoResizeChildren', 'Icon', 'Scrollable'})); idx = cellfun (strfcn, varargin (1:2:end)); if (any (idx)) - idx = repelem (idx, 2); + idx = repelem (idx, 2); props = varargin(idx); # save special props for applying later varargin(idx) = []; # remove special props from varargin endif
--- a/scripts/testfun/assert.m Fri Jun 14 14:13:32 2024 -0400 +++ b/scripts/testfun/assert.m Fri Jun 14 16:05:56 2024 -0700 @@ -775,7 +775,7 @@ fmt(end) = []; # delete final extra comma cout = ostrsplit (sprintf (['(' fmt ')', '$'], subs'), '$'); cout(end) = []; # delete extra cell from final '$' - cout = cout.'; # return column vector + cout = cout.'; # return column vector endfunction