Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
d99e314a
Commit
d99e314a
authored
Mar 13, 2018
by
COULAUD Olivier
Browse files
Fix compilation problems on Macos X
parent
0113f2e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Src/Kernels/Taylor/FTaylorKernel.hpp
View file @
d99e314a
...
...
@@ -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
])
;
}
...
...
Utils/CMakeLists.txt
View file @
d99e314a
...
...
@@ -19,6 +19,7 @@ file(
INCLUDE_DIRECTORIES
(
${
SCALFMM_BINARY_DIR
}
/Src
${
SCALFMM_SOURCE_DIR
}
/Src
${
SCALFMM_SOURCE_DIR
}
/Contribs
${
SCALFMM_INCLUDES
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment