Skip to content
Snippets Groups Projects
Commit c287de1f authored by 13518104 Kevin Austin Stefano's avatar 13518104 Kevin Austin Stefano
Browse files

openmpi done

parent e28653d5
No related merge requests found
No preview for this file type
...@@ -85,11 +85,11 @@ void PartisiDest(Edge T[], int i, int j, int *k) ...@@ -85,11 +85,11 @@ void PartisiDest(Edge T[], int i, int j, int *k)
int q = j; int q = j;
while (p <= q) while (p <= q)
{ {
while (T[p - 1].dest < pivot.dest && T[p - 1].src != pivot.src) while (T[p - 1].dest < pivot.dest)
{ {
p++; p++;
} }
while (T[q - 1].dest > pivot.dest && T[p - 1].src != pivot.src) while (T[q - 1].dest > pivot.dest )
{ {
q--; q--;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment