Fixed inconsistent default extra_dof value

This commit is contained in:
Stephen Sanderson
2021-03-17 14:31:17 +10:00
parent aad0a9a0f3
commit 471cfa8ac3

View File

@ -120,6 +120,7 @@ ComputeTempProfile::ComputeTempProfile(LAMMPS *lmp, int narg, char **arg) :
nconstraints = (xflag==0 ? 0 : 1) + (yflag==0 ? 0 : 1) + (zflag==0 ? 0 : 1);
nconstraints *= nbins;
reset_extra_dof();
memory->create(vbin,nbins,ncount,"temp/profile:vbin");
memory->create(binave,nbins,ncount,"temp/profile:binave");