bugGNU Octave - Bugs: bug #32067, about error "value on right...

 
 

bug #32067: about error "value on right hand side of assignment is undefined"

Submitter:  Guillaume <gyom>
Submitted:  Thu 06 Jan 2011 02:26:30 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Guillaume Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 07 Jan 2011 06:39:21 PM UTC, comment #1: 

These are two separate issues.

I checked in the following changesets:

http://hg.savannah.gnu.org/hgweb/octave/rev/33f6384d2b78
http://hg.savannah.gnu.org/hgweb/octave/rev/fbdb95640852

These changes seem to fix the problem for me, so I'm closing this report.

John W. Eaton <jwe>
Group administrator
Thu 06 Jan 2011 02:26:30 PM UTC, original submission:  

The following lines of code each return the error:
  "value on right hand side of assignment is undefined"

  a='a';b={};c=cellfun(@(x)strcmp(a,x),b)

  c=get(findobj(0,'Tag','xxx'),'a')

while MATLAB returns c=[] on both.
Octave 3.2.4 also returns [] for the first example.

Guillaume <gyom>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by gyom (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-01-07 jwe StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code