katarinka/alg-vis — comment on commit 6abb3673a8d9bc799e31488e1493e09d5164554d
File: src/algvis/leftistheap/LeftHeapAlg.java line 46
By kuk0:

don't compare keys directly... use w.prec(H.root[0])...
this is because users can decide whether they want min-heap or max-heap...