diff --git a/demos/CUDA/BlackScholes/BlackScholes.cu b/demos/CUDA/BlackScholes/BlackScholes.cu index 5e6df2cca..3c3617b44 100644 --- a/demos/CUDA/BlackScholes/BlackScholes.cu +++ b/demos/CUDA/BlackScholes/BlackScholes.cu @@ -83,7 +83,7 @@ const int OPT_SZ = OPT_N * sizeof(float); const float RISKFREE = 0.02f; const float VOLATILITY = 0.30f; -#define DIV_UP(a, b) (((a) + (b)-1) / (b)) +#define DIV_UP(a, b) (((a) + (b) - 1) / (b)) //////////////////////////////////////////////////////////////////////////////// // Main program