|
From: | Jarno Rajahalme |
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 03:29:49 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4 |
URL: <http://savannah.gnu.org/bugs/?29853> Summary: assignment testdata(find([1:2] != 0)) = [1:2] fails to produce the right result Project: GNU Octave Submitted by: jarno Submitted on: Tue 11 May 2010 03:29:48 AM GMT Category: Interpreter Severity: 3 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: dev Operating System: Mac OS _______________________________________________________ Details: This is likely related to 29851, but a different expression of the bug? $ octave GNU Octave, version 3.3.51+ ... Octave was configured for "x86_64-apple-darwin10.3.0". ... octave:1> testdata(find([1:2] != 0)) = [1:2] testdata = 1 octave:2> testdata(find([1:2] != 0)+0) = [1:2] testdata = 1 2 octave:3> The second form produces the right outcome. _______________________________________________________ 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] |