Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Tiago Peixoto
graph-tool
Commits
5b45d806
Commit
5b45d806
authored
Dec 14, 2007
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix add_edge_property()
add_edge_property() should return a edge property not a vertex_property
parent
866bb994
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/graph_tool.py
src/graph_tool.py
+1
-1
No files found.
src/graph_tool.py
View file @
5b45d806
...
...
@@ -409,7 +409,7 @@ class Graph(object):
"""Add a new (uninitialized) edge property map of type 'type', and
return it"""
self
.
edit_edge_property
(
name
,
type
)
return
self
.
vertex
_properties
[
name
]
return
self
.
edge
_properties
[
name
]
@
_handle_exceptions
@
_lazy_load
...
...
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