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

 
 

bug #33530: min Matlab compatibility issue

Submitted by:  Arnaud Delorme <arnodelorme>
Submitted on:  Sat 11 Jun 2011 03:34:55 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 3 - LowItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.4.0Operating System: Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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>
Project 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 File(s):
   
   
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
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by amathei (Updated the item)
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by arnodelorme (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
    Tue 26 Mar 2013 03:40:02 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Tue 26 Mar 2013 09:03:31 AM UTCamatheiAttached File-=>Added minCompatibility.patch, #27692
    Mon 27 Feb 2012 05:38:21 PM UTCrik5Priority5 - Normal=>3 - Low
      Item GroupNone=>Matlab Compatibility
      StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1