Skip to content

Commit

Permalink
Merge pull request #573 from Sichao25/fix_pts
Browse files Browse the repository at this point in the history
Debug psl
  • Loading branch information
Xiaojieqiu authored Oct 9, 2023
2 parents 144d955 + 64d42bf commit e44d325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynamo/tools/psl_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def psl(
(np.repeat(1, N * K), (i, j)), shape=(N, N)
) # [1 for k in range(N * K)]

if not dist:
if dist is None:
if list(set(sG.data)) == [1]:
print(
"Error: sG should not just be an adjacency graph and has to include the distance information between vertices!"
Expand Down

0 comments on commit e44d325

Please sign in to comment.