bugGNU Octave - Bugs: bug #45371, Typo in @iddata/set

 
 

bug #45371: Typo in @iddata/set

Submitter:  None
Submitted:  Mon 22 Jun 2015 07:54:40 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Petr Ledvina Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.2
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 22 Jun 2015 02:32:09 PM UTC, comment #2: 

Thanks for reporting, I've pushed the following changeset:

https://bitbucket.org/paramaniac/control/commits/2a8d5e896faab9534abdd469e4daf4f38ed4ca06


Lukas Reichlin <paramaniac>
Mon 22 Jun 2015 01:54:09 PM UTC, comment #1: 

I confirm that this is still here with 4.0.0
Lines
117
123
125
130
need to be looked at.
Added Lukas to the emails

Doug Stewart <dastew>
Mon 22 Jun 2015 07:54:40 AM UTC, original submission:  

There is trivial bug in @iddata/set.m (package control).
Some properties are assigned to 'sys' variable instead of 'dat' variable that is returned. (http://sourceforge.net/p/octave/control/ci/control-2.6.2/tree/inst/@iddata/set.m#l124)


# s=iddata(0, 0, -1, 'userdata', 'test');
# s.userdata
ans = [](0x0)


Replacing 'sys' with 'dat' in @iddata/set.m:

# s=iddata(0, 0, -1, 'userdata', 'test');
# s.userdata
ans = test


Anonymous

 

(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 mtmiller (Updated the item)
  • -email is unavailable- added by paramaniac (Posted a comment)
  • -email is unavailable- added by dastew (Posted a comment)
  • -email is unavailable- added by dastew
  • -email is unavailable- added by None (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-22 mtmiller StatusNone Fixed
        Open/ClosedOpen Closed
    2015-06-22 dastew Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code