Skip to content

Commit fb06d6e

Browse files
author
Rik
committed
maint: merge stable to default
2 parents 5e53d4e + ce543cd commit fb06d6e

File tree

20 files changed

+34
-29
lines changed

20 files changed

+34
-29
lines changed

scripts/general/interp2.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@
446446
h_x = (XI - reshape (X(idx_x), size (idx_x))) / spread_x;
447447
h_y = (YI - reshape (Y(idx_y), size (idx_y))) / spread_y;
448448

449-
# adjust indexes for padding
449+
## adjust indexes for padding
450450
idx_x += -kernel_bounds(1) - 1;
451451
idx_y += -kernel_bounds(1) - 1;
452452

scripts/miscellaneous/license.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
%! list = pkg ("list");
158158
%! for idx = 1: numel (list)
159159
%! name = list{idx}.name;
160-
%! if (list{idx}.loaded);
160+
%! if (list{idx}.loaded)
161161
%! assert ((license ("inuse", name)).feature, name);
162162
%! else
163163
%! rv = license ("inuse", name);

scripts/ode/private/integrate_adaptive.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797

9898
## Initialize Refine value
9999
refine = options.Refine;
100-
if isempty (refine)
100+
if (isempty (refine))
101101
refine = 1;
102102
elseif ((refine != round (refine)) || (refine < 1))
103103
refine = 1;

scripts/ode/private/ode_event_handler.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
evtcntnew += 1;
134134
endfor
135135
## Sort by time of event
136-
if length (idx) > 1
136+
if (length (idx) > 1)
137137
[tnews, idx_sort] = sort (tnews, "ascend");
138138
idxs = idx(idx_sort);
139139
ynews = ynews(idx_sort,:);
@@ -144,7 +144,7 @@
144144
## Check for terminal events and remove any events after terminal.
145145
## Any events at same time as first terminal event will be retained.
146146
idx3 = find (terms, 1); # Find first terminal event by time
147-
if ! isempty (idx3)
147+
if (! isempty (idx3))
148148
t_cutoff = tnews(idx3);
149149
## Last index to return
150150
evtcntnew = find (tnews == t_cutoff, 1, "last");

scripts/ode/private/odemergeopts.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
## but we don't use that here. Should the calls be fixed or should we
3333
## do something with the solver argument here?
3434

35-
function options = odemergeopts (caller, useroptions, options, classes,
36-
attributes, solver);
35+
function options = odemergeopts (caller, useroptions, options, classes, attributes, solver)
3736

3837
for [value, key] = options
3938

scripts/ode/private/runge_kutta_interpolate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
########################################################################
2525

2626
## -*- texinfo -*-
27-
## @deftypefn {} {@var{u_interp} =} odemergeopts (@var{order}, @var{z}, @var{t}, @var{k_vals})
27+
## @deftypefn {} {@var{u_interp} =} odemergeopts (@var{order}, @var{z}, @var{t}, @var{u}, @var{k_vals})
2828
## Undocumented internal function.
2929
## @end deftypefn
3030

scripts/optimization/sqp.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@
732732
ub = globals.ub - x(ubidx, 1);
733733
else
734734
ub = [];
735-
end
735+
endif
736736

737737
res = [ci; lb; ub];
738738

scripts/pkg/private/build.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ function build (builddir, tarballs, verbose)
7777
else
7878
arch_abi = getarch ();
7979
configure_make (desc, build_root, verbose);
80-
if exist (fullfile (build_root, "src", "configure"), "file")
80+
if (exist (fullfile (build_root, "src", "configure"), "file"))
8181
unlink (fullfile (build_root, "src", "configure"));
8282
endif
83-
if exist (fullfile (build_root, "src", "Makefile"), "file")
83+
if (exist (fullfile (build_root, "src", "Makefile"), "file"))
8484
unlink (fullfile (build_root, "src", "Makefile"));
8585
endif
8686
endif

scripts/plot/appearance/text.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
%! va = {"bottom", "middle", "top"};
246246
%! x = [0.25 0.5 0.75];
247247
%! y = x;
248-
%! for t = 0:30:359;
248+
%! for t = 0:30:359
249249
%! for nh = 1:numel (ha)
250250
%! for nv = 1:numel (va)
251251
%! text (x(nh), y(nv), "Hello World", ...
@@ -271,7 +271,7 @@
271271
%! "facealpha", 0);
272272
%! colors = jet (9);
273273
%! ii = 1;
274-
%! for t = 0:45:359;
274+
%! for t = 0:45:359
275275
%! ii = ii +1;
276276
%! text (25, 25, 0, "Vertical Alignment = Bottom", ...
277277
%! "rotation", t, ...

scripts/plot/draw/quiver3.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108

109109
endfunction
110110

111+
111112
%!demo
112113
%! clf;
113114
%! colormap ("default");

0 commit comments

Comments
 (0)