Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ Then the user has to correct the input file and restart the calculation.)";
item.availability = "";
item.read_value = [](const Input_Item& item, Parameter& para) {
para.input.nupdown = doublevalue;
para.sys.two_fermi = true;
para.sys.two_fermi = (doublevalue != 0.0);
};
item.reset_value = [](const Input_Item&, Parameter& para) {
if (para.input.nspin == 1)
Expand Down
Loading