Commit 82c1c00c authored by Francois Gygi's avatar Francois Gygi
Browse files

update_occ in set_nspin, set_deltaspin

git-svn-id: http://qboxcode.org/svn/qb/trunk@1217 cba15fb0-1239-40c8-b417-11db7ca47a34
Showing with 2 additions and 0 deletions
+2 -0
......@@ -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);
}
////////////////////////////////////////////////////////////////////////////////
......
Supports Markdown
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