Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
d4a8428b
Commit
d4a8428b
authored
Oct 02, 2017
by
Tiago Peixoto
Browse files
Fix compilation with clang
parent
c738d441
Pipeline
#374
passed with stage
in 206 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/graph/inference/support/int_part.cc
View file @
d4a8428b
...
...
@@ -91,7 +91,7 @@ double q_rec_memo(int n, int k)
double
log_q_approx_big
(
size_t
n
,
size_t
k
)
{
constexpr
double
C
=
M_PI
*
sqrt
(
2
/
3.
);
double
C
=
M_PI
*
sqrt
(
2
/
3.
);
double
S
=
C
*
sqrt
(
n
)
-
log
(
4
*
sqrt
(
3
)
*
n
);
if
(
k
<
n
)
{
...
...
Write
Preview
Supports
Markdown
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