Commit 9a917bbb by Francois Gygi

removed initialization of random number generator to allow for proper

randomization when nspin==2


git-svn-id: http://qboxcode.org/svn/qb/trunk@1139 cba15fb0-1239-40c8-b417-11db7ca47a34
parent de4827ac
......@@ -1192,8 +1192,7 @@ void SlaterDet::randomize(double amplitude)
{
if ( basis_->size() == 0 )
return;
// Note: randomization results depend on the process grid size and shape
srand48(ctxt_.myproc());
for ( int n = 0; n < c_.nloc(); n++ )
{
complex<double>* p = c_.valptr(c_.mloc()*n);
......
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