bugGNU Octave - Bugs: bug #45686, intersect.m with empty input

 
 

bug #45686: intersect.m with empty input

Submitted by:  Juan Pablo Carbajal <juanpi>
Submitted on:  Mon 03 Aug 2015 09:29:12 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 08:26:22 PM UTC, comment #5:

I checked in a change on the default branch that matches Matlab's preferences for the output (cell, char, or matrix). The size is 0x0, rather than 0x1, but I'm prepared to accept that difference. See this cset (http://hg.savannah.gnu.org/hgweb/octave/rev/3fc21d7ac11c).

Rik <rik5>
Project Administrator
Tue 11 Aug 2015 07:00:35 PM UTC, comment #4:

Ethan says:

Juan Pablo Carbajal <juanpi>
Project Member
Tue 11 Aug 2015 06:52:26 PM UTC, comment #3:

Interesting. One thing was not as expected. Can you have Ethan test this

Rik <rik5>
Project Administrator
Tue 11 Aug 2015 06:28:31 PM UTC, comment #2:

Courtesy of Ethan Meyers

Juan Pablo Carbajal <juanpi>
Project Member
Tue 11 Aug 2015 05:09:49 PM UTC, comment #1:

I have a patch for this, but I want to verify the expected output when an empty matrix is in the second position. Can you run the following three tests under Matlab and report back?

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

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

See bug #45685

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:
   

No files currently attached

 

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 08:26:22 PM UTCrik5StatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Tue 11 Aug 2015 05:09:49 PM UTCrik5StatusNone=>In Progress

    Back to the top


    Powered by Savane 3.1-cleanup1