Skip to content

Commit

Permalink
Particle types only use internal methods for getting variables
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjrobins committed Apr 22, 2016
1 parent 6045003 commit 0fd45c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Particles.h
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class Particles {

/// particles are equal if they have the same id Variable
bool operator==(const Particle &rhs) const {
return get<id>(*this) == get<id>(rhs);
return this->get<id>() == rhs.get<id>();
}

/// perform a deep particle copy, random number generator is
Expand Down

0 comments on commit 0fd45c5

Please sign in to comment.