use ev_init for dihedrals
This commit is contained in:
@ -44,8 +44,7 @@ DihedralZero::~DihedralZero()
|
||||
|
||||
void DihedralZero::compute(int eflag, int vflag)
|
||||
{
|
||||
if (eflag || vflag) ev_setup(eflag,vflag);
|
||||
else evflag = 0;
|
||||
ev_init(eflag,vflag);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user