Also post any error messages, etc.

You realize that `heapify!` returns an array, just with elements in a different 
order? The smallest element will be first.

--Tim

On Saturday, January 03, 2015 03:12:39 AM Rodolfo Santana wrote:
> Here it is:
> 
> Julia Version 0.3.4
> 
> Commit 3392026* (2014-12-26 10:42 UTC)
> 
> Platform Info:
> 
>   System: Darwin (x86_64-apple-darwin13.4.0)
> 
>   CPU: Intel(R) Core(TM) i7 CPU       M 620  @ 2.67GHz
> 
>   WORD_SIZE: 64
> 
>   BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Nehalem)
> 
>   LAPACK: libopenblas
> 
>   LIBM: libopenlibm
> 
>   LLVM: libLLVM-3.3
> 
> On Saturday, January 3, 2015 5:06:42 AM UTC-6, [email protected] wrote:
> > Strange, works for me, maybe post the whole versioninfo() output that the
> > experts can look at.
> > 
> > Cheers
> > Lex
> > 
> > On Saturday, January 3, 2015 8:58:21 PM UTC+10, Rodolfo Santana wrote:
> >> Hi Lex,
> >> 
> >> I am using Version 0.3.4
> >> 
> >> On Saturday, January 3, 2015 4:55:06 AM UTC-6, [email protected] wrote:
> >>> Whats your versioninfo()
> >>> 
> >>> On Saturday, January 3, 2015 8:53:30 PM UTC+10, Rodolfo Santana wrote:
> >>>> 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