Skip to content

Commit 8b27724

Browse files
cleanup
1 parent 517b88a commit 8b27724

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/gnngraph.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -338,10 +338,7 @@ defined as ``\hat{L} = \frac{2}{\lambda_{max}} L - I`` where ``L`` is the normal
338338
"""
339339
function scaled_laplacian(g::GNNGraph, T::DataType=Float32; dir=:out)
340340
L = normalized_laplacian(g, T)
341-
if !issymmetric(L)
342-
@show norm(L - L')
343-
end
344-
# @assert issymmetric(L) "scaled_laplacian only works with symmetric matrices"
341+
@assert issymmetric(L) "scaled_laplacian only works with symmetric matrices"
345342
λmax = _eigmax(L)
346343
return 2 / λmax * L - I
347344
end

0 commit comments

Comments
 (0)