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
ef2fae83
Commit
ef2fae83
authored
Jun 08, 2015
by
Tiago Peixoto
Browse files
Trivial change in graph_blockmodel.hh
parent
b548dead
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph/community/graph_blockmodel.hh
View file @
ef2fae83
...
...
@@ -1295,15 +1295,14 @@ void move_entries(Vertex v, Vertex nr, Vprop& b, Eprop& eweights, Graph& g,
template
<
class
MEntries
,
class
Eprop
,
class
BGraph
,
class
EMat
>
double
entries_dS
(
MEntries
&
m_entries
,
Eprop
&
mrs
,
BGraph
&
bg
,
EMat
&
emat
)
{
typedef
typename
graph_traits
<
BGraph
>::
vertex_descriptor
vertex_t
;
auto
&
entries
=
m_entries
.
get_entries
();
auto
&
delta
=
m_entries
.
get_delta
();
double
dS
=
0
;
for
(
size_t
i
=
0
;
i
<
entries
.
size
();
++
i
)
{
vertex_t
er
=
entries
[
i
].
first
;
vertex_t
es
=
entries
[
i
].
second
;
auto
er
=
entries
[
i
].
first
;
auto
es
=
entries
[
i
].
second
;
int
d
=
delta
[
i
];
int
ers
=
get_mrs
(
er
,
es
,
mrs
,
emat
,
bg
);
...
...
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