NULLed ptrs in files
This commit is contained in:
@ -23,8 +23,10 @@ using namespace LAMMPS_NS;
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
RegIntersect::RegIntersect(LAMMPS *lmp, int narg, char **arg) :
|
||||
Region(lmp, narg, arg)
|
||||
Region(lmp, narg, arg), idsub(NULL)
|
||||
{
|
||||
nregion = 0;
|
||||
|
||||
if (narg < 5) error->all(FLERR,"Illegal region command");
|
||||
int n = force->inumeric(FLERR,arg[2]);
|
||||
if (n < 2) error->all(FLERR,"Illegal region command");
|
||||
|
||||
Reference in New Issue
Block a user