Chris Jefferson wrote: > I haven't bothered including test cases as there are already complete > testcases for them. I doubt it: the __is_heap change is wrong, the arguments are swapped. Please add testcases and be more careful. Thanks, Paolo.