Commit d99fa295 authored by Robert McGibbon's avatar Robert McGibbon
Browse files

Fix typo

parent 2246b862
/* -------------------------------------------------------------------------- * /* -------------------------------------------------------------------------- *
* OpenMM * * OpenMM *
* -------------------------------------------------------------------------- * * -------------------------------------------------------------------------- *
...@@ -41,7 +40,7 @@ ...@@ -41,7 +40,7 @@
using namespace OpenMM; using namespace OpenMM;
using namespace std; using namespace std;
void testTrunactedOctahedron() { void testTruncatedOctahedron() {
const int numMolecules = 5; const int numMolecules = 5;
const int numParticles = numMolecules*2; const int numParticles = numMolecules*2;
const float cutoff = 2.0; const float cutoff = 2.0;
...@@ -85,7 +84,7 @@ void testTrunactedOctahedron() { ...@@ -85,7 +84,7 @@ void testTrunactedOctahedron() {
int main(int argc, char* argv[]) { int main(int argc, char* argv[]) {
try { try {
testTrunactedOctahedron(); testTruncatedOctahedron();
} }
catch(const exception& e) { catch(const exception& e) {
cout << "exception: " << e.what() << endl; cout << "exception: " << e.what() << endl;
......
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