must not clear force array. will segfault in hybrid atom styles
This commit is contained in:
@ -82,7 +82,6 @@ void AtomVecSpin::grow_pointers()
|
||||
|
||||
void AtomVecSpin::force_clear(int n, size_t nbytes)
|
||||
{
|
||||
memset(&f[n][0],0,3*nbytes);
|
||||
memset(&fm[n][0],0,3*nbytes);
|
||||
memset(&fm_long[n][0],0,3*nbytes);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user