Commit 4daf8d5d authored by peastman's avatar peastman Committed by GitHub
Browse files

Merge pull request #1516 from peastman/mpi

Fixed compilation error on Windows
parents 88f19a95 4cf59381
...@@ -33,6 +33,9 @@ ...@@ -33,6 +33,9 @@
* This tests the CUDA implementation of CudaAmoebaAngleForce. * This tests the CUDA implementation of CudaAmoebaAngleForce.
*/ */
#ifdef WIN32
#define _USE_MATH_DEFINES // Needed to get M_PI
#endif
#include "openmm/internal/AssertionUtilities.h" #include "openmm/internal/AssertionUtilities.h"
#include "openmm/Context.h" #include "openmm/Context.h"
#include "openmm/CustomAngleForce.h" #include "openmm/CustomAngleForce.h"
......
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