We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2890c43 commit 9cc9858Copy full SHA for 9cc9858
source/module_elecstate/module_charge/charge_init.cpp
@@ -32,7 +32,7 @@ void Charge::init_rho(elecstate::efermi& eferm_iout,
32
33
std::cout << " START CHARGE : " << PARAM.inp.init_chg << std::endl;
34
//here we need to set the omega for the charge density
35
- set_omega(ucell.omega);
+ set_omega(&ucell.omega);
36
37
bool read_error = false;
38
if (PARAM.inp.init_chg == "file" || PARAM.inp.init_chg == "auto")
0 commit comments