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
563c3dde
Commit
563c3dde
authored
Apr 02, 2016
by
Tiago Peixoto
Browse files
Fix compilation warnings and errors on some compilers
parent
d0bd7f48
Changes
4
Show whitespace changes
Inline
Side-by-side
src/graph/centrality/graph_closeness.hh
View file @
563c3dde
...
...
@@ -55,7 +55,6 @@ struct get_closeness
const
{
using
namespace
boost
;
typedef
typename
graph_traits
<
Graph
>::
vertex_descriptor
vertex_t
;
// select get_vertex_dists based on the existence of weights
typedef
typename
mpl
::
if_
<
std
::
is_same
<
WeightMap
,
no_weightS
>
,
...
...
src/graph/inference/bundled_vacate_loop.hh
View file @
563c3dde
...
...
@@ -42,8 +42,6 @@ auto bundled_vacate_sweep(MergeState& state, RNG& rng)
std
::
tuple
<
size_t
,
double
>
best_move
(
state
.
_null_move
,
numeric_limits
<
double
>::
max
());
auto
r
=
state
.
bundle_state
(
bundle
);
auto
find_candidates
=
[
&
](
bool
random
)
{
for
(
size_t
iter
=
0
;
iter
<
state
.
_niter
;
++
iter
)
...
...
src/graph/inference/gibbs_loop.hh
View file @
563c3dde
...
...
@@ -112,7 +112,7 @@ auto gibbs_sweep(GibbsState state, RNG& rng_)
idx
[
j
]
=
j
;
}
if
(
!
isinf
(
beta
))
if
(
!
std
::
isinf
(
beta
))
{
for
(
size_t
j
=
0
;
j
<
moves
.
size
();
++
j
)
{
...
...
src/graph/inference/multicanonical_loop.hh
View file @
563c3dde
...
...
@@ -62,7 +62,6 @@ auto multicanonical_sweep(MulticanonicalState& state, RNG& rng)
{
auto
v
=
vertex
(
uniform_sample
(
vlist
,
rng
),
g
);
auto
r
=
state
.
node_state
(
v
);
auto
s
=
state
.
move_proposal
(
v
,
rng
);
std
::
pair
<
double
,
double
>
dS
=
state
.
virtual_move_dS
(
v
,
s
);
...
...
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