Skip to content

Commit

Permalink
fix simplified return
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrush committed Jul 27, 2021
1 parent bab07b4 commit 3c0c57b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/tests/thirdparty/t_parmetis_smoke.cpp
Expand Up @@ -190,8 +190,5 @@ int main(int argc, char** argv)
// Finalize MPI
MPI_Finalize();

if(res == METIS_OK)
return 0;
else // (res == METIS_ERROR)
return (res == METIS_OK) ? 0 : -1;
return (res == METIS_OK) ? 0 : -1;
}

0 comments on commit 3c0c57b

Please sign in to comment.