Commit 712c6f87 by Francois Gygi

Set nrowmax to ntasks if larger than ntasks

parent 4c3f1b10
......@@ -356,8 +356,10 @@ void Wavefunction::set_nrowmax(int n)
if ( n > ctxt_.size() )
{
if ( ctxt_.onpe0() )
cout << " Wavefunction::set_nrowmax: nrowmax > ctxt_.size()" << endl;
return;
cout << " Wavefunction::set_nrowmax: nrowmax > number of tasks" << endl
<< " Wavefunction::set_nrowmax: nrowmax set to "
<< ctxt_.size() << endl;
n = ctxt_.size();
}
deallocate();
......
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