git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12979 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -21,6 +21,7 @@
|
||||
#include "atom.h"
|
||||
#include "memory.h"
|
||||
#include "error.h"
|
||||
#include "force.h"
|
||||
|
||||
using namespace LAMMPS_NS;
|
||||
|
||||
@ -58,7 +59,7 @@ int ReaderXYZ::read_time(bigint &ntimestep)
|
||||
|
||||
// first line has to have the number of atoms
|
||||
|
||||
natoms = ATOBIGINT(line);
|
||||
natoms = force->bnumeric(FLERR,line);
|
||||
if (natoms < 1)
|
||||
error->one(FLERR,"Dump file is incorrectly formatted");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user