Commit 376e584b by Francois Gygi

Remove extraneous braces

parent 25729fdb
......@@ -1102,21 +1102,19 @@ void Wavefunction::info(ostream& os, string tag) const
for ( int ispin = 0; ispin < nspin(); ++ispin )
{
const int isp_loc = isp_local(ispin);
for ( int ikp = 0; ikp < nkp(); ++ikp )
{
for ( int ikp = 0; ikp < nkp(); ++ikp )
const int ikp_loc = ikp_local(ikp);
string s;
int isrc = -1;
if ( ( isp_loc >= 0 ) && ( ikp_loc >= 0 ) )
{
const int ikp_loc = ikp_local(ikp);
string s;
int isrc = -1;
if ( ( isp_loc >= 0 ) && ( ikp_loc >= 0 ) )
{
s = sd_[isp_loc][ikp_loc]->info();
if ( MPIdata::sd_rank() == 0 )
isrc = MPIdata::rank();
}
cout0(s,isrc);
MPI_Barrier(MPIdata::comm());
s = sd_[isp_loc][ikp_loc]->info();
if ( MPIdata::sd_rank() == 0 )
isrc = MPIdata::rank();
}
cout0(s,isrc);
MPI_Barrier(MPIdata::comm());
}
}
......
Markdown is supported
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