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
bf1e07b1
Commit
bf1e07b1
authored
May 16, 2016
by
Tiago Peixoto
Browse files
Properly honor B_min parameter in minimize_blockmodel_dl()
parent
f772e4e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/inference/minimize.py
View file @
bf1e07b1
...
...
@@ -96,7 +96,7 @@ def get_states(g, B_min=None, B_max=None, b_min=None, b_max=None, deg_corr=True,
max_state
=
State
(
g
,
B
=
_B_max
,
deg_corr
=
deg_corr
,
clabel
=
clabel
,
**
dmask
(
state_args
,[
"B"
,
"b"
,
"deg_corr"
,
"clabel"
]))
if
max_state
.
B
<
B_max
:
if
max_state
.
B
>
B_max
:
max_state
=
mcmc_multilevel
(
max_state
,
B
=
B_max
,
**
mcmc_multilevel_args
)
if
b_min
is
not
None
:
...
...
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