forked from lijiext/lammps
fix storing of invalid memory pointer
This commit is contained in:
parent
a9f3f90025
commit
198fe7ecd7
|
@ -15,7 +15,7 @@ class MEAM {
|
||||||
MEAM(Memory *mem);
|
MEAM(Memory *mem);
|
||||||
~MEAM();
|
~MEAM();
|
||||||
private:
|
private:
|
||||||
Memory *&memory;
|
Memory *memory;
|
||||||
|
|
||||||
// cutforce = force cutoff
|
// cutforce = force cutoff
|
||||||
// cutforcesq = force cutoff squared
|
// cutforcesq = force cutoff squared
|
||||||
|
|
Loading…
Reference in New Issue