git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4323 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2010-06-18 20:39:29 +00:00
parent 79d83814e3
commit 4eda3e3688
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ FixAveForce::FixAveForce(LAMMPS *lmp, int narg, char **arg) :
global_freq = 1;
extvector = 1;
xstr = ystr = zstr = NULL;
if (strstr(arg[3],"v_") == arg[3]) {
int n = strlen(&arg[3][2]) + 1;
xstr = new char[n];