octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #52431] perms fails for cell arrays and struct


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #52431] perms fails for cell arrays and structs
Date: Fri, 17 Nov 2017 13:05:32 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #3, bug #52431 (project octave):

Apologies for the duplicated effort.  I should have mentioned that I was also
working on a patch. It fixes another issue which is that value of elements is
not used when computing permutations of logical input.

The attached patch adds more tests, only tries to sort when input is numeric
of char (use of sort is the root of this bug). It also sorts them by ascending
order and only reverts in the n>4 case.

(file #42417)
    _______________________________________________________

Additional Item Attachment:

File name: fix-perms.cset                 Size:2 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52431>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]