replace calls to force->*numeric() with the corresponding utils::*numeric()
this also removes the now obsolete functions from Force
This commit is contained in:
@ -65,7 +65,7 @@ int ReaderXYZ::read_time(bigint &ntimestep)
|
||||
break;
|
||||
}
|
||||
}
|
||||
natoms = force->bnumeric(FLERR,line);
|
||||
natoms = utils::bnumeric(FLERR,line,false,lmp);
|
||||
if (natoms < 1)
|
||||
error->one(FLERR,"Dump file is incorrectly formatted");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user