Skip to content

Commit

Permalink
Merge pull request lammps#4172 from stanmoore1/deallocate_topo
Browse files Browse the repository at this point in the history
Fix issue with virtual inheritance in Kokkos deallocate_topo function
  • Loading branch information
stanmoore1 authored May 23, 2024
2 parents f8d5a89 + 29e6474 commit dad0d26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/KOKKOS/atom_kokkos.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class AtomKokkos : public Atom {
virtual void grow(unsigned int mask);
int add_custom(const char *, int, int, int border = 0) override;
void remove_custom(int, int, int) override;
virtual void deallocate_topology();
void deallocate_topology() override;

void map_set_device();
void map_set_host();
Expand Down
2 changes: 1 addition & 1 deletion src/atom.h
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ class Atom : protected Pointers {

int parse_data(const char *);

void deallocate_topology();
virtual void deallocate_topology();

void data_atoms(int, char *, tagint, tagint, int, int, double *, int, int *, int);
void data_vels(int, char *, tagint);
Expand Down

0 comments on commit dad0d26

Please sign in to comment.