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

 
 

bug #29745: close does not allow empty variable

Submitted by:  None
Submitted on:  Sun 02 May 2010 12:01:32 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Ben Abbott <bpabbott>
Originator Name: Peter van den BiggelaarOriginator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project MemberIn charge of this item.
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 File(s):
   
   
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
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by bpabbott (Updated the item)
  • -unavailable- added by None (Submitted the item)
  •  

    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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 06 Jun 2013 05:23:11 AM UTCbpabbottStatusPatch Submitted=>Fixed
    Mon 03 May 2010 03:29:46 AM UTCrik5Open/ClosedOpen=>Closed
    Sun 02 May 2010 02:23:19 PM UTCbpabbottStatusNone=>Patch Submitted
      Release3.2.3=>dev
    Sun 02 May 2010 02:15:39 PM UTCbpabbottAssigned toNone=>bpabbott
    Sun 02 May 2010 12:01:32 PM UTCNoneAttached File-=>Added close.m, #20390

    Back to the top


    Powered by Savane 3.1-cleanup1