fix bugs reported by @jibril-b-coulibaly

This commit is contained in:
Axel Kohlmeyer
2022-04-28 14:47:53 -04:00
parent 33a63e5cd3
commit f09556018b
2 changed files with 3 additions and 3 deletions

View File

@ -188,7 +188,7 @@ void PairGranular::compute(int eflag, int vflag)
double *history,*allhistory,**firsthistory;
bool touchflag = false;
const bool historyupdate = update->setupflag != 0;
const bool historyupdate = update->setupflag == 0;
ev_init(eflag,vflag);