Commit 2eaa120b authored by Peter Eastman's avatar Peter Eastman
Browse files

Eliminated a compilation warning

parent 1d0193eb
......@@ -29,9 +29,6 @@
* Ewald summation method (Reciprocal space summation).
*/
/* Cuda compiler on Windows does not recognized "static const float" values */
#define LOCAL_HACK_PI 3.1415926535897932384626433832795
/* Define multiply operations for floats */
__device__ float2 MultofFloat2(float2 a, float2 b)
......
......@@ -31,7 +31,7 @@
*/
/* Cuda compiler on Windows does not recognized "static const float" values */
#define LOCAL_HACK_PI 3.1415926535897932384626433832795
#define LOCAL_HACK_PI 3.1415926535897932384626433832795f
__global__
#if (__CUDA_ARCH__ >= 200)
......
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