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
7470ea4f
Commit
7470ea4f
authored
Feb 06, 2022
by
Tiago Peixoto
Browse files
nested_blockmodel.py: fix copy with edge covariates
parent
f01f29f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/inference/nested_blockmodel.py
View file @
7470ea4f
...
...
@@ -192,6 +192,9 @@ class NestedBlockState(object):
def
__getstate__
(
self
):
base_state
=
self
.
levels
[
0
].
__getstate__
()
base_state
.
pop
(
"Lrecdx"
,
None
)
base_state
.
pop
(
"epsilon"
,
None
)
base_state
.
pop
(
"drec"
,
None
)
state_args
=
dict
(
base_state
,
**
self
.
state_args
)
state_args
.
pop
(
"g"
,
None
)
state_args
.
pop
(
"b"
,
None
)
...
...
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