forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6595 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
5b4da1971f
commit
090ff6da1a
|
@ -176,7 +176,7 @@ DumpImage::DumpImage(LAMMPS *lmp, int narg, char **arg) :
|
|||
error->all("Invalid dump image theta value");
|
||||
theta *= PI/180.0;
|
||||
}
|
||||
if (strstr(arg[iarg+1],"v_") == arg[iarg+2]) {
|
||||
if (strstr(arg[iarg+2],"v_") == arg[iarg+2]) {
|
||||
int n = strlen(&arg[iarg+2][2]) + 1;
|
||||
phistr = new char[n];
|
||||
strcpy(phistr,&arg[iarg+2][2]);
|
||||
|
|
Loading…
Reference in New Issue