Commit d99e314a authored by COULAUD Olivier's avatar COULAUD Olivier

Fix compilation problems on Macos X

parent 0113f2e5
......@@ -186,7 +186,7 @@ private:
FReal combin(const int& a, const int& b){
// use assert to remove the following warning with gcc
// error: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Werror=strict-overflow]
assert(("combin :: Error combin negative!!",a>=b));
assert(("combin :: Error combin negative!!" &&a>=b));
// if(a<b) {printf("combin :: Error combin negative!! a=%d b=%d\n",a,b); exit(-1) ; }
return factorials[a]/ (factorials[b]* factorials[a-b]) ;
}
......
......@@ -19,6 +19,7 @@ file(
INCLUDE_DIRECTORIES(
${SCALFMM_BINARY_DIR}/Src
${SCALFMM_SOURCE_DIR}/Src
${SCALFMM_SOURCE_DIR}/Contribs
${SCALFMM_INCLUDES}
)
......
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