Thanks for the reply! I have tried that, but I get:

ERROR: heapify! not defined

On Saturday, January 3, 2015 4:48:27 AM UTC-6, Ivar Nesje wrote:
>
> *Collections.heapify!(x)*
>
> kl. 11:22:24 UTC+1 lørdag 3. januar 2015 skrev Rodolfo Santana følgende:
>>
>> Let's say I have an array x=rand(10) . How do I use the heapify! function 
>> to heapify x?
>>
>> Thanks!
>> -Rodolfo
>>
>>
>>

Reply via email to