Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Pqueue: remove useless condition
Browse files Browse the repository at this point in the history
  • Loading branch information
iaguis authored and joaquimrocha committed Jun 23, 2013
1 parent 6f6afaf commit 6169d3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions skeltrack/pqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ pqueue_delete (PQueue *pqueue,

pqueue->map[element->j * pqueue->width + element->i] = -1;

if (pos <= pqueue->size)
sink (pqueue, pos);
sink (pqueue, pos);
}

gboolean
Expand Down

0 comments on commit 6169d3f

Please sign in to comment.