Commit 92766e8a authored by Peter Eastman's avatar Peter Eastman
Browse files

Added missing const qualifier

parent 2061fbbd
...@@ -72,7 +72,7 @@ public: ...@@ -72,7 +72,7 @@ public:
/** /**
* Create a Vec3 from a RealVec. * Create a Vec3 from a RealVec.
*/ */
operator Vec3() { operator Vec3() const {
return Vec3(data[0], data[1], data[2]); return Vec3(data[0], data[1], data[2]);
} }
RealOpenMM operator[](int index) const { RealOpenMM operator[](int index) const {
......
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