Mercurial > octave-dspies
view test/bug-38565.tst @ 18951:5bfedd39cc77
Fix indexing in patch if x/y/zdata are row vectors (bug #42822)
* graphics.cc (patch::properties::update_fvc): Get column vectors from
x/y/zdata if xdata is a row vector.
author | Andreas Weber <andy.weber.aw@gmail.com> |
---|---|
date | Tue, 22 Jul 2014 12:05:28 +0200 |
parents | b9e510a1f308 |
children |
line wrap: on
line source
%!function r = f (x) %! if (ischar (x)) %! r = x; %! else %! error ("expecting character string"); %! endif %!endfunction %!assert (eval ("f 10;"), "10");