Mercurial > octave
view test/bug-54490.tst @ 29377:5cfdf97c5350 stable release-6-2-0
Version 6.2.0 released.
* configure.ac (AC_INIT): Set version to 6.2.0.
(OCTAVE_MINOR_VERSION): Now 2.
(OCTAVE_PATCH_VERSION): Now 0.
(OCTAVE_RELEASE_DATE): Set to "2021-02-19".
* etc/icons/org.octave.Octave.appdata.xml: Add release info for
version 6.2.0.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 19 Feb 2021 12:36:34 -0500 |
parents | cc9da21511c1 |
children | 2838bbd84b87 |
line wrap: on
line source
%!function out = bug54490 () %! global k; %! k = 1; %! out = 3; %!endfunction %!test %! global k; %! k = 2; %! a = [5, 6]; %! a(k) = bug54490 (); %! assert (a, [5, 3]); %! k = 2; %! a = [5, 6]; %! [a(k)] = bug54490 (); %! assert (a, [5, 3]); %! clear -global k; # cleanup after test