Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
graph-tool
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
40
Issues
40
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tiago Peixoto
graph-tool
Commits
01432d60
Commit
01432d60
authored
Jan 15, 2017
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
laplacian(): Remove innocuous warning
parent
ba7eacbe
Pipeline
#243
failed with stage
in 310 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/graph_tool/spectral/__init__.py
src/graph_tool/spectral/__init__.py
+1
-1
No files found.
src/graph_tool/spectral/__init__.py
View file @
01432d60
...
...
@@ -292,7 +292,7 @@ def laplacian(g, deg="total", normalized=False, weight=None, index=None):
index
=
g
.
vertex_index
V
=
g
.
num_vertices
()
nself
=
label_self_loops
(
g
,
mark_only
=
True
).
a
.
sum
(
)
nself
=
int
(
label_self_loops
(
g
,
mark_only
=
True
).
a
.
sum
()
)
E
=
g
.
num_edges
()
-
nself
if
not
g
.
is_directed
():
E
*=
2
...
...
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