Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
danielegrattarola committed Mar 20, 2021
1 parent 15fd032 commit 54cfe35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spektral/transforms/laplacian_pe.py
@@ -1,5 +1,5 @@
from scipy.sparse.linalg import eigsh
import numpy as np
from scipy.sparse.linalg import eigsh

from spektral.utils import normalized_laplacian

Expand All @@ -12,6 +12,7 @@ class LaplacianPE:
Each node will be extended with its corresponding entries in the first k
eigenvectors.
"""

def __init__(self, k):
assert k > 0, "k must be greater than 0"
self.k = k
Expand Down

0 comments on commit 54cfe35

Please sign in to comment.