make certain that the vector storage and the size_vector variable are consistent in computes
This commit is contained in:
@ -115,7 +115,7 @@ ComputeMSD::ComputeMSD(LAMMPS *lmp, int narg, char **arg) :
|
||||
|
||||
// displacement vector
|
||||
|
||||
vector = new double[4];
|
||||
vector = new double[size_vector];
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user