Skip to content

Commit

Permalink
Avoid overwriting MASS when it's given in input
Browse files Browse the repository at this point in the history
  • Loading branch information
ttadano committed Feb 27, 2018
1 parent 797dc32 commit b47a6e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anphon/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ void System::setup()

if (!mass_kd) {
memory->allocate(mass_kd, nkd);
set_mass_elem_from_database(nkd, symbol_kd, mass_kd);
}
set_mass_elem_from_database(nkd, symbol_kd, mass_kd);
}
load_system_info_from_XML();

Expand Down

0 comments on commit b47a6e0

Please sign in to comment.