Skip to content

Specify pair style double times leads to memory leak #370

@NewSigma

Description

@NewSigma

nnp_inter.init (arg[0], get_node_rank());

If we specify the pair style double times, nnp_inter will be initialized double times too, which is not allowed and will lead to memory leak in release mode. It seems that pairs provided by lammps can be specified several times safely.

Let me know if I'm wrong. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions