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
a9bc162f
Commit
a9bc162f
authored
Feb 02, 2016
by
Tiago Peixoto
Browse files
Trivial indentation/space fix
parent
26b147db
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/graph/draw/graph_cairo_draw.cc
View file @
a9bc162f
...
...
@@ -1739,7 +1739,7 @@ void populate_attrs(boost::python::dict vattrs, attrs_t& attrs)
boost
::
any
pmap
;
int
type
=
boost
::
python
::
extract
<
int
>
(
items
[
i
][
0
])();
boost
::
mpl
::
for_each
<
attr_types
>
(
get_pmap
<
Descriptor
,
PropMaps
>
(
oattr
,
pmap
,
type
));
type
));
attrs
[
type
]
=
pmap
;
}
}
...
...
src/graph_tool/community/blockmodel.py
View file @
a9bc162f
...
...
@@ -297,7 +297,6 @@ class BlockState(object):
r
"""Returns a :class:`~graph_tool.community.BlockState`` corresponding to the
block graph. The parameters have the same meaning as the in the constructor."""
state
=
BlockState
(
self
.
bg
,
eweight
=
self
.
mrs
,
vweight
=
self
.
wr
if
vweight
else
None
,
b
=
self
.
bg
.
vertex_index
.
copy
(
"int"
)
if
b
is
None
else
b
,
...
...
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