Commit bda3552f authored by peastman's avatar peastman
Browse files

Marked usesPeriodicBoundaryConditions() as const

parent d2fd6cee
......@@ -243,7 +243,7 @@ public:
*
* @return true if at least one force uses PBC and false otherwise
*/
bool usesPeriodicBoundaryConditions();
bool usesPeriodicBoundaryConditions() const;
private:
class ConstraintInfo;
Vec3 periodicBoxVectors[3];
......
......@@ -133,7 +133,7 @@ void System::setDefaultPeriodicBoxVectors(const Vec3& a, const Vec3& b, const Ve
periodicBoxVectors[2] = c;
}
bool System::usesPeriodicBoundaryConditions() {
bool System::usesPeriodicBoundaryConditions() const {
bool uses_pbc = false;
bool all_forces_implement = true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment