bugGNU Octave - Bugs: bug #33530, min Matlab compatibility issue

 
 

bug #33530: min Matlab compatibility issue

Submitter:  Arnaud Delorme <arnodelorme>
Submitted:  Sat 11 Jun 2011 03:34:55 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  3 - Low Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.4.0 Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 26 Mar 2013 02:47:48 PM UTC, comment #4: 

Axel:

Thanks, I checked in a modified version of your patch:

http://hg.savannah.gnu.org/hgweb/octave/rev/7ce21619a4b9

John W. Eaton <jwe>
Group administrator
Tue 26 Mar 2013 09:03:31 AM UTC, comment #3: 

Here is a patch fixing that.

(file #27692)

Axel Mathéi <amathei>
Fri 08 Jun 2012 03:24:38 AM UTC, comment #2: 

The issue is still present.  Under Matlab, there is no error message printed.  Under Octave, an error message is printed and the min function is not performed.

Rik <rik5>
Group administrator
Fri 08 Jun 2012 12:44:34 AM UTC, comment #1: 

This has been fixed, at least under LINUX.
octave:12> min(char(1));
error: min: wrong type argument `sq_string'

Anonymous
Sat 11 Jun 2011 03:34:55 PM UTC, original submission:  

min requires numerical input in Octave but not in Matlab 
min(char(1)); % crashes under Octave

Arnaud Delorme <arnodelorme>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #27692:  minCompatibility.patch added by amathei (6KiB - text/x-patch)

 

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 rik5 (Updated the item)
  • -email is unavailable- added by arnodelorme (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-03-26 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2013-03-26 amathei Attached File- Added minCompatibility.patch, #27692
    2012-02-27 rik5 Priority5 - Normal 3 - Low
        Item GroupNone Matlab Compatibility
        StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code