Skip to content
GitLab
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
a6ccdb26
Commit
a6ccdb26
authored
Feb 07, 2014
by
Tiago Peixoto
Browse files
Fix compatibility bug with Python 3.2
parent
34b34b06
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/community/blockmodel.py
View file @
a6ccdb26
...
...
@@ -1288,8 +1288,8 @@ def multilevel_minimize(state, B, nsweeps=10, adaptive_sweeps=True, epsilon=0,
if
verbose
:
if
not
greedy_step
:
print
(
"... performed %d sweeps with %d vertex moves"
%
(
niter
,
total_nmoves
))
print
(
u
"Performing sweeps for beta = ∞, B=%d (N=%d)..."
%
\
(
Bi
,
state
.
g
.
num_vertices
()))
print
(
"Performing sweeps for beta = ∞, B=%d (N=%d)..."
%
\
(
Bi
,
state
.
g
.
num_vertices
()))
if
not
greedy_step
:
checkpoint_state
[
Bi
][
"greedy_step"
]
=
True
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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