Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
graph-tool
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
40
Issues
40
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tiago Peixoto
graph-tool
Commits
ef2fae83
Commit
ef2fae83
authored
Jun 08, 2015
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trivial change in graph_blockmodel.hh
parent
b548dead
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/graph/community/graph_blockmodel.hh
src/graph/community/graph_blockmodel.hh
+2
-3
No files found.
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
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