diff --git a/openfpm_data b/openfpm_data index fe595a5ac0d1cfd5bb53c25728d795fbc20aabef..fcbefd1d58de10a473e9753645253afb4416b89a 160000 --- a/openfpm_data +++ b/openfpm_data @@ -1 +1 @@ -Subproject commit fe595a5ac0d1cfd5bb53c25728d795fbc20aabef +Subproject commit fcbefd1d58de10a473e9753645253afb4416b89a diff --git a/src/Vector/vector_dist.hpp b/src/Vector/vector_dist.hpp index 6eb6d579e9447165f62679e33e7b953ee19d107f..748e1b3fddfacbdee8d5f30d5fcef8eed93a4b17 100644 --- a/src/Vector/vector_dist.hpp +++ b/src/Vector/vector_dist.hpp @@ -1040,7 +1040,7 @@ public: { auto key = it.get(); - cell_list.add(this->template getPos(key), key.getKey()); + cell_list.add(this->getPos(key), key.getKey()); ++it; } @@ -1111,7 +1111,7 @@ public: vect_dist_key_dx key = it_p.get(); // Get the position of the particles - Point<dim, St> p = this->template getPos(key); + Point<dim, St> p = this->getPos(key); // Clear the neighborhood of the particle verlet.get(key.getKey()).clear(); @@ -1129,7 +1129,7 @@ public: continue; } - Point<dim, St> q = this->template getPos(nnp); + Point<dim, St> q = this->getPos(nnp); if (p.distance2(q) < r_cut2) verlet.get(key.getKey()).add(nnp); @@ -1300,7 +1300,7 @@ public: while (it.isNext()) { - size_t v = cdsm.getCell(this->template getPos(it.get())); + size_t v = cdsm.getCell(this->getPos(it.get())); dec.addComputationCost(v, 1);