X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=classes%2Fplheap.php;h=6dafc1aca7a6c938a2ff8e5e412b147f6b09eb99;hb=4d1c62e006bc896e9ddb59d15dc7a7e30f9eb48e;hp=39870b90b958d3e31d3a0b72bae7b99a53bac5a1;hpb=2ab75571bf840471fa9559292b75852bfce004d3;p=platal.git diff --git a/classes/plheap.php b/classes/plheap.php index 39870b9..6dafc1a 100644 --- a/classes/plheap.php +++ b/classes/plheap.php @@ -67,7 +67,7 @@ class PlHeap public function iterator() { - return PlIterator::fromArray($this->content); + return PlIteratorUtils::fromArray($this->content, 1, true); } }