bugGNU Octave - Bugs: bug #45685, union.m for mixed inputs and when...

 
 

bug #45685: union.m for mixed inputs and when one is empty

Submitted by:  Juan Pablo Carbajal <juanpi>
Submitted on:  Mon 03 Aug 2015 09:20:26 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: juanpiOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 11 Aug 2015 05:04:47 PM UTC, comment #1:

I applied your patch to the default branch here (http://hg.savannah.gnu.org/hgweb/octave/rev/e59a44fa74ff). Marking bug as fixed and closing report.

Rik <rik5>
Project Administrator
Mon 03 Aug 2015 09:20:26 PM UTC, original submission:

In matlab

This is not the case for Octave

The attached patch fixes this for union, setdiff and setxor.

However

Return the empty array in Octave but the empty cell array (probably 0x1) in matlab.

Juan Pablo Carbajal <juanpi>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #34572:  union_patch.diff added by juanpi (2KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by juanpi (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 11 Aug 2015 05:04:47 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 03 Aug 2015 09:24:55 PM UTCjuanpiAttached File-=>Added union_patch.diff, #34572

    Back to the top


    Powered by Savane 3.1-cleanup1