This is an RFC 1153 digest. (22 messages) ---------------------------------------------------------------------- MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 From: Marco Caliari Reply-To: address@hidden To: Marco Caliari , address@hidden Cc: Subject: [Octave-bug-tracker] [bug #31740] Empty assignement to empty index Date: Tue, 23 Nov 2010 15:12:37 +0000 Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful. URL: Summary: Empty assignement to empty index Project: GNU Octave Submitted by: caliari Submitted on: Tue 23 Nov 2010 03:12:36 PM GMT Category: None Severity: 3 - Normal Priority: 5 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: 3.3.53 Operating System: GNU/Linux _______________________________________________________ Details: Dear all, the last line of the following code x = 0; ind = 1; x(ind) = ones (1, 1); ind = []; x(ind) = [] % this works x = 0; ind = 1; x(ind,1) = ones (1, 1); ind = []; x(ind,1) = []; % this does not works give me "A null assignment can only have one non-colon index", but it should be equivalent to the 5th line (and works in ml). Best regards, Marco _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ ------------------------------ MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 From: Rik Reply-To: address@hidden To: Marco Caliari , address@hidden Cc: Subject: [Octave-bug-tracker] [bug #31740] Empty assignement to empty index Date: Wed, 24 Nov 2010 04:10:56 +0000 Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful. Update of bug #31740 (project octave): Status: None => Confirmed _______________________________________________________ Follow-up Comment #1: This is confirmed. The difference in behavior showed up between Octave 3.0.5 and Octave 3.2.3. _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ ------------------------------ MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 From: Jaroslav Hajek Reply-To: address@hidden To: Jaroslav Hajek , Rik , address@hidden, address@hidden Cc: Subject: [Octave-bug-tracker] [bug #31287] Certain assignments of empty arrays give errors (Matlab incompatibility) Date: Thu, 25 Nov 2010 21:09:31 +0000 Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful. Update of bug #31287 (project octave): Assigned to: None => highegg _______________________________________________________ Follow-up Comment #2: I'm OK to fix this, but I have adopted the stance that I want to derive a general rule first. Fixing incompatibilities on an ad hoc basis is useless. I suppose the rule may be something like "A(I,J,...) = B always works if B is 0x0 and at least one of I,J,... is empty." So, if you want to fix it, find a general rule like this (you can try this one, if it works) and then provide a test script, as detailed as possible, that works in Matlab some way (e.g. success/errors + different results if applicable) and should work in Octave the same way. This has to be done by someone with Matlab (which I'm not) and is actually the bulk of the work, fixing the Octave code is then easy. I'll be glad to do the latter part. regards _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ ------------------------------ MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 From: Jaroslav Hajek Reply-To: address@hidden To: Jaroslav Hajek , Rik , Marco Caliari , address@hidden Cc: Subject: [Octave-bug-tracker] [bug #31740] Empty assignement to empty index Date: Thu, 25 Nov 2010 21:11:34 +0000 Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful. Update of bug #31740 (project octave): Status: Confirmed => Duplicate _______________________________________________________ Follow-up Comment #2: This is probably a duplicate of #31287. _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ ------------------------------ MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 From: Jay K Reply-To: address@hidden To: Tatsuro MATSUOKA , Nathan Hopkins , Jay K , address@hidden Cc: Subject: [Octave-bug-tracker] [bug #31684] GNU plot window freezes with click on titlebar Date: Fri, 26 Nov 2010 23:46:46 +0000 Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful. Follow-up Comment #2, bug #31684 (project octave): I'm having a similar problem to Nathan with a clean install of Octave 3.2.4 on XP Pro SP3. I haven't tried the lengthy delay at the end of plt.m, but I have tried the three suggestions documented here: http://wiki.octave.org/wiki.pl?OctaveForWindows. If I start Octave and then do, say, plot([1 2 3],[2 3 4]), I get the expected plot window and it works normally (I can resize, etc.). If I then do ALT-TAB it takes me back to the Octave command window and another ALT-TAB selects the plot window but doesn't bring it to the front. At this point the plot window is dead - it won't refresh or resize; all I can do is close it, but after that I can't open any new plot windows until I restart Octave. _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ ------------------------------ MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 From: Jay K Reply-To: address@hidden To: Tatsuro MATSUOKA , Nathan Hopkins , Jay K , address@hidden Cc: Subject: [Octave-bug-tracker] [bug #31684] GNU plot window freezes with click on titlebar Date: Sat, 27 Nov 2010 00:34:44 +0000 Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful. Follow-up Comment #3, bug #31684 (project octave): Another detail - if I close the window by typing 'close' from the Octave command window, the window closes and I can create new plot windows without a restart. Still, something is funky with ALT-TAB. _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ ------------------------------ End of this Digest ******************