Skip to content

Commit

Permalink
fixed merge conflicts between master and pull request NOAA-EMC#63 in …
Browse files Browse the repository at this point in the history
…affinity.c
  • Loading branch information
wrongkindofdoctor authored and wrongkindofdoctor committed Jul 31, 2019
1 parent f2e2c86 commit a632c3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mpp/affinity.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,13 @@ int get_cpu_affinity(void)
}
}

<<<<<<< HEAD
if (last_cpu != -1) {return (first_cpu);}
return (last_cpu == -1) ? first_cpu : -1;
#endif
=======
return first_cpu;
>>>>>>> affinity.c get_cpu_affinity only one return
}

int get_cpu_affinity_(void) { return get_cpu_affinity(); } /* Fortran interface */
Expand Down

0 comments on commit a632c3c

Please sign in to comment.