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

This commit is contained in:
sjplimp
2010-04-29 13:42:52 +00:00
parent 7900602be9
commit 67033e05b1

View File

@ -448,7 +448,7 @@ void Velocity::ramp(int narg, char **arg)
} else if (v_dim == 1) {
v_lo = yscale*atof(arg[1]);
v_hi = yscale*atof(arg[2]);
} else if (v_dim == 0) {
} else if (v_dim == 2) {
v_lo = zscale*atof(arg[1]);
v_hi = zscale*atof(arg[2]);
}