octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #29745] close does not allow empty variable


From: anonymous
Subject: [Octave-bug-tracker] [bug #29745] close does not allow empty variable
Date: Sun, 02 May 2010 12:01:33 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.23 Safari/533.4

URL:
  <http://savannah.gnu.org/bugs/?29745>

                 Summary: close does not allow empty variable
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sun 02 May 2010 12:01:32 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Peter van den Biggelaar
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.3
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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

 





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 02 May 2010 12:01:32 PM UTC  Name: close.m  Size: 2kB   By: None
fix
<http://savannah.gnu.org/bugs/download.php?file_id=20390>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29745>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]