Commit 82c1c00c by Francois Gygi

update_occ in set_nspin, set_deltaspin

git-svn-id: http://qboxcode.org/svn/qb/trunk@1217 cba15fb0-1239-40c8-b417-11db7ca47a34
parent 160f3b93
......@@ -282,6 +282,7 @@ void Wavefunction::set_nspin(int nspin)
allocate();
resize(cell_,refcell_,ecut_);
init();
update_occ(0.0);
}
////////////////////////////////////////////////////////////////////////////////
......@@ -295,6 +296,7 @@ void Wavefunction::set_deltaspin(int deltaspin)
allocate();
resize(cell_,refcell_,ecut_);
init();
update_occ(0.0);
}
////////////////////////////////////////////////////////////////////////////////
......
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