Skip to content
Snippets Groups Projects
Commit e09df28b authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5787 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent fbbb8a07
No related branches found
No related tags found
No related merge requests found
......@@ -98,10 +98,7 @@ int FixEfield::setmask()
void FixEfield::init()
{
// require an atom style with charge defined
if (atom->q == NULL)
error->all("Must use charged atom style with fix efield");
if (!atom->q_flag) error->all("Fix efield requires atom attribute q");
// check variables
......
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