|
From: | Judd Storrs |
Subject: | [Octave-bug-tracker] [bug #29853] assignment testdata(find([1:2] != 0)) = [1:2] fails to produce the right result |
Date: | Tue, 11 May 2010 04:56:21 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3 |
Follow-up Comment #2, bug #29853 (project octave): It seems to be that this happens when testdata has not been defined. i.e. I see this behavior: octave:1> testdata = [0 0] testdata = 0 0 octave:2> testdata(find([1:2] != 0)) = [1:2] testdata = 1 2 octave:3> clear testdata octave:4> testdata(find([1:2] != 0)) = [1:2] testdata = 1 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?29853> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |