Hi Russel,

Using the function 'sort' without a qualifier should work fine. This is a bug. 
We have identified the cause and have a fix underway. Thanks for reporting the 
behavior.

Best,
Ben


On 9/7/16, 3:27 AM, "Russel Winder" <[email protected]> wrote:

>Using Chapel Git master HEAD I have a code that includes:
>
>  var counts_data: [1..counts.size] (real, int);
>  for (k, v, i) in zip(counts.domain, counts, 1..counts.size) do 
> counts_data[i] = (k, v);
>  Sort.sort(counts_data);
>
>Commenting out the Sort.sort the code works as expected. With the
>Sort.sort in the compilation I get:
>
>statistics.chpl:56: error: unresolved call
>'Sort.sort([domain(1,int(64),false)] (real(64),int(64)))'
>
>however this is supposed to be a template function over an array of
>some length of some type of element, but element is not being allowed
>to match to a tuple?
>
>-- 
>Russel.
>=============================================================================
>Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
>41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
>London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


------------------------------------------------------------------------------
_______________________________________________
Chapel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-users

Reply via email to