Re: [PD] problem with sort object

2014-01-21 Thread IOhannes m zmölnig
On 01/20/2014 10:16 PM, D G wrote:
 Does this make any sense to anybody? can you replicate the error with the
 same numbers?

yes, i can reproduce the problem.
seems you found a bug.

please report it on
  http://bugs.puredata.info/

it would be great if you could provide a *patch* (.pd-file) that
reproduces the problem.


fgdms
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] problem with sort object

2014-01-20 Thread D G
Hello
i need a list sorting object and there is [sort] in the zexy externals.

but it seems that i have found a bug.

if I use the following list of unsorted numbers
0.192477 0.00670372 *0.152811* 0.00688959 0.162687 0.00633917 0.188098
0.00716823 0.177974 0.00697544 0.159727 0.00695443 0.166196 0.00645065
0.168316 0.030957

i get this sorted list in return
0.00633917 0.00645065 0.00670372 0.00688959 0.00695443 0.00697544
0.00716823 *0.152811* 0.030957 0.159727 0.162687 0.166196 0.168316 0.177974
0.188098 0.192477

this number in bold font (the third one from the unsorted list) is not
correctly sorted

it happens with this other list too:
unsorted:
11.6279 0.129769 *3.50877* 0.396668 15.873 0.16442 5.26316 0.397614 16.9492
0.16818 3.57143 0.3367 10.4167 0.15758 4.14938 0.19972
sorted:
0.129769 0.15758 0.16442 0.16818 0.19972 0.3367 0.396668 *3.50877* 0.397614
3.57143 4.14938 5.26316 10.4167 11.6279 15.873 16.9492

and the problem seems to be of the object in the third position.

Does this make any sense to anybody? can you replicate the error with the
same numbers?

is there another object to sort the elements of a list or an array?

thanks

Daniel
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list