Commit ae87ac55 by Francois Gygi

add update_occ in set_nempty. Fix bug 23.


git-svn-id: http://qboxcode.org/svn/qb/trunk@876 cba15fb0-1239-40c8-b417-11db7ca47a34
parent 607bc29a
......@@ -258,6 +258,7 @@ void Wavefunction::set_nempty(int nempty)
}
nempty_ = nempty;
compute_nst();
update_occ(0.0);
resize(cell_,refcell_,ecut_);
}
......
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