Skip to content

Commit

Permalink
maint: Merge stable to default.
Browse files Browse the repository at this point in the history
  • Loading branch information
NRJank committed Feb 3, 2024
2 parents 5c4a012 + 2faf432 commit 4e01b0d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libinterp/octave-value/ov.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3702,6 +3702,9 @@ Note that this is the same as writing @code{val(:, 1:2)}.
If @var{idx} is an empty structure array with fields @samp{type} and
@samp{subs}, return @var{val}.
The keyword @code{end} cannot be used within @code{subsref} for indexing
assignments.
@seealso{subsasgn, substruct}
@end deftypefn */)
{
Expand Down Expand Up @@ -3751,6 +3754,9 @@ Note that this is the same as writing @code{val(:, 1:2) = 0}.
If @var{idx} is an empty structure array with fields @samp{type} and
@samp{subs}, return @var{rhs}.
The keyword @code{end} cannot be used within @code{subsasgn} for indexing
assignments.
@seealso{subsref, substruct, optimize_subsasgn_calls}
@end deftypefn */)
{
Expand Down
3 changes: 3 additions & 0 deletions scripts/miscellaneous/substruct.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
## @result{} 7 8 9
## @end group
## @end example
##
## Note: The keyword @code{end} cannot be used within @code{subsref} or
## @code{subsasgn} for indexing assignments.
## @seealso{subsref, subsasgn}
## @end deftypefn
Expand Down

0 comments on commit 4e01b0d

Please sign in to comment.