bugGNU Octave - Bugs: bug #29745, close does not allow empty variable

 
 

bug #29745: close does not allow empty variable

Submitter:  None
Submitted:  Sun 02 May 2010 12:01:32 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  bpabbott
Originator Name:  Peter van den Biggelaar Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 02 May 2010 02:23:19 PM UTC, comment #1: 

I tested and then pushed the Peter's change.

    http://hg.savannah.gnu.org/hgweb/octave/rev/6e1674216b99


Ben Abbott <bpabbott>
Group Member
Sun 02 May 2010 12:01:32 PM UTC, original submission:  

octave:73> close([])
error: close: expecting argument to be "all" or a figure handle

The function `close.m` generates an error when the argument equals `[]`. Allowing this fixes a Matlab compatibility issue.

The attached file contains the solution in line 49-50

 


Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #20390:  close.m added by None (2KiB - text/x-objcsrc - fix)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by bpabbott (Updated the item)
  • -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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-06-06 bpabbott StatusPatch Submitted Fixed
    2010-05-03 rik5 Open/ClosedOpen Closed
    2010-05-02 bpabbott StatusNone Patch Submitted
        Release3.2.3 dev
    2010-05-02 bpabbott Assigned toNone bpabbott
    2010-05-02 None Attached File- Added close.m, #20390

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code