Update cv2/program.c
This commit is contained in:
parent
365dddab3c
commit
c3301fb347
@ -58,7 +58,7 @@ void sort_pizza_list(struct pizza* list, int n)
|
||||
sorted=true;
|
||||
for(int i=0; i<n-1-k; i++)
|
||||
{
|
||||
if(compare_pizza(list[i], list[i+1])>1)
|
||||
if(compare_pizza(list[i], list[i+1])<0)
|
||||
{
|
||||
tmp=list[i];
|
||||
list[i]=list[i+1];
|
||||
|
Loading…
Reference in New Issue
Block a user