bugGNU Octave - Bugs: bug #35921, assigning empty to non-double types

 
 

bug #35921: assigning empty to non-double types

Submitted by:  None
Submitted on:  Tue 20 Mar 2012 11:30:46 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 04 Jan 2014 02:11:48 AM UTC, comment #2:

I checked in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/cda4bd2fd0c0

John W. Eaton <jwe>
Project Administrator
Tue 06 Aug 2013 01:33:52 AM UTC, comment #1:

Confirmed on the development version of Octave as well. I only see this error when the right-hand side is a scalar (matrix of size 1).

Also can confirm that this is not the same as bug #31278. That bug was a regression of something that used to work in Octave 3.0.x. This one has never worked AFAICT. The error message for this bug in Octave 3.0.5 was

Mike Miller <mtmiller>
Project Administrator
Tue 20 Mar 2012 11:30:46 PM UTC, original submission:

There appears to be an error in assigning empty values to arrays of type other than double:

This seems closely related to open bug #31287: Certain assignments of empty arrays give errors (Matlab incompatibility), but perhaps not the same, since that bug involves assignments whos left-hand-sides are also empty (rather than becoming empty), and does not seem to depend on the data type.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 04 Jan 2014 02:11:48 AM UTCjweStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Thu 17 Oct 2013 09:07:33 PM UTCrik5Dependencies-=>Depends on bugs #31287
    Tue 06 Aug 2013 01:33:52 AM UTCmtmillerCategoryNone=>Interpreter
      Item GroupNone=>Incorrect Result
      StatusNone=>Confirmed
      Release3.6.1=>dev
      Operating SystemGNU/Linux=>Any

    Back to the top


    Powered by Savane 3.1-cleanup1