bugGNU Octave - Bugs: bug #31316, function unique incorrect result

 
 

bug #31316: function unique incorrect result

Submitted by:  russ <russ32768>
Submitted on:  Tue 12 Oct 2010 07:00:18 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: russOpen/Closed: Closed
Release: 3.2.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 18 Oct 2010 04:30:20 AM UTC, comment #2:

I think this has been fixed in the current sources, so I'm closing this bug report.

John W. Eaton <jwe>
Project Administrator
Wed 13 Oct 2010 12:43:42 AM UTC, comment #1:

Both Matlab and Octave's development sources give the same answer

octave:7> unique([ 1 + 1i -1 + 1i 1 + 1i ])
ans =

1 + 1i -1 + 1i

I appears this problem (with 3.0.5) has already been fixed.

Ben Abbott <bpabbott>
Project Member
Tue 12 Oct 2010 07:00:18 PM UTC, original submission:

wrong answer for unique on ubuntu, eg:

octave:95> unique([ 1 + 1i -1 + 1i 1 + 1i ])
ans =

1 + 1i -1 + 1i 1 + 1i

GNU Octave Version 3.0.5
GNU Octave License: GNU General Public License
Operating System: Linux 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:26:08 UTC 2010 i686

russ <russ32768>

 

(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 jwe (Posted a comment)
  • -unavailable- added by bpabbott (Posted a comment)
  • -unavailable- added by russ32768 (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
    Mon 18 Oct 2010 04:30:20 AM UTCjweStatusWorks For Me=>Fixed
      Open/ClosedOpen=>Closed
    Wed 13 Oct 2010 12:43:42 AM UTCbpabbottStatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup1