Skip to content
Snippets Groups Projects
Commit d0470799 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

consistently check for all per-atom-type masses being set only when per-atom masses are not set

rather than placing an if statement around every incidence of calling atom->check_mass() to ensure it is only called when per atom masses are not set, we place that check _inside_ Atom::check_mass(). This avoids unexpected error messages.
parent f7077d96
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment