fixed compile error
git-svn-id: svn://anubis/gvsu@342 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
parent
e314db9dcc
commit
012e179c70
@ -268,7 +268,7 @@ void getSizes(int * rank, int * size, int * nprocs)
|
|||||||
{
|
{
|
||||||
int total_nprocs = 0;
|
int total_nprocs = 0;
|
||||||
cout << "Number of cores on each MPI node:" << endl;
|
cout << "Number of cores on each MPI node:" << endl;
|
||||||
int i = (*size > 1) : 1 : 0;
|
int i = (*size > 1) ? 1 : 0;
|
||||||
for (; i < *size; i++)
|
for (; i < *size; i++)
|
||||||
{
|
{
|
||||||
cout << all_nprocs[i] << " ";
|
cout << all_nprocs[i] << " ";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user