Commit bf1e07b1 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Properly honor B_min parameter in minimize_blockmodel_dl()

parent f772e4e4
......@@ -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:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment