From 94bdf1237bd84e0b113d8b2a26cde48113d3aa05 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 1 Jul 2016 14:21:54 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15236 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/read_data.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/read_data.cpp b/src/read_data.cpp index 39afcfbcf8..debb7713c3 100644 --- a/src/read_data.cpp +++ b/src/read_data.cpp @@ -283,6 +283,7 @@ void ReadData::command(int narg, char **arg) } // set up pointer to hold original styles while we replace them with "zero" + Pair *saved_pair = NULL; Bond *saved_bond = NULL; Angle *saved_angle = NULL; @@ -346,6 +347,9 @@ void ReadData::command(int narg, char **arg) natoms = ntypes = 0; nbonds = nangles = ndihedrals = nimpropers = 0; nbondtypes = nangletypes = ndihedraltypes = nimpropertypes = 0; + + boxlo[0] = boxlo[1] = boxlo[2] = -0.5; + boxhi[0] = boxhi[1] = boxhi[2] = 0.5; triclinic = 0; keyword[0] = '\0';