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