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
f01f29f5
Commit
f01f29f5
authored
Feb 06, 2022
by
Tiago Peixoto
Browse files
blockmodel: fix add/remove edge
parent
37e1083e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph/inference/blockmodel/graph_blockmodel.hh
View file @
f01f29f5
...
...
@@ -709,6 +709,9 @@ public:
else
_coupled_state
->
remove_edge
(
r
,
s
,
me
,
dw
);
}
if
(
!
_egroups
.
empty
())
_egroups
.
clear
();
}
template
<
bool
Add
,
bool
Deplete
>
...
...
@@ -774,7 +777,7 @@ public:
get
<
1
>
(
_degs
[
v
])
-=
dw
;
}
_E
--
;
_E
-=
dw
;
}
}
...
...
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